我有 2 个 3.5 英寸 WD20EARS 磁盘。在格式化/擦除期间,发生电源故障,现在我无法访问任何一个磁盘。我通常会认为这只是一个坏盘,但由于它发生在两个磁盘上,我对此表示怀疑。
SMART 结果表明两个磁盘均正常
以下是我尝试过的一些方法。
分开
$ parted /dev/sdf Warning: Error fsyncing/closing /dev/sdf: Input/output error
磁盘管理
$ fdisk /dev/sdd Welcome to fdisk (until-linux 2.31.1). fdisk: cannot open /dev/sdf: Input/output error
使用图形化 Ubuntu 磁盘实用程序进行格式化
Error wiping device: Failed to probe the device '/dev/sdf' (udisks-error-quark, 0)
文件系统检查
$ fsck/dev/sdf fsck.ext2: Input/output error while trying to open /dev/sdf
救援这可以读取磁盘,但我并不关心该驱动器上的数据,我只是希望它再次工作。
hdparm
$ hdparm --verbose --write-sector 3907029168 --yes-i-know-what-i-am-doing /dev/sdf re-writing sector 3907029168:
我实际上不知道我用这个做什么:p 它没有错误,但我不确定它实际上在做什么。
:::编辑::: hdparm 终于完成了。结果如下,
sudo hdparm --verbose --write-sector 3907029168 --yes-i-know-what-i-am-doing /dev/sdf
/dev/sdf:
APT: No idVendor found -> not USB bridge device
re-writing sector 3907029168:
oflags.bits.lob_all=0xfc, flags={ nsect lbal lbam lbah dev command }
oflags.bits.hob_all=0x3c, flags={ nsect lbal lbam lbah }
using LBA48 taskfile
outgoing cdb: 85 0b 06 00 00 00 01 e8 b0 00 88 00 e0 e0 34 00
outgoing_data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: ATA_16 status=0x2, host_status=0x0, driver_status=0x8
SG_IO: sb[]: 70 00 05 00 00 00 00 0a 10 51 e0 01 21 00 00 00 a0 b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 10 51 e0 01 21 00 00 00 a0 b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: desc[]: 10 51 e0 01 21 00 00 00 a0 b0 00 00 00 00 00 00 00 00 00 00 00 00
ATA_16 stat=00 err=01 nsect=00 lbal=00 lbam=b0 lbah=00 dev=00
succeeded
我说成功了,但似乎什么都没有改变