我收到了一块希捷 2.5 英寸 5400rpm 500GB 硬盘,在进行一些 Windows 更新后出现启动配置错误。我已经尝试了以下操作,但似乎没有任何效果:
第一步:我尝试使用 Windows 修复来重新安装引导加载程序,但安装程序不会与该特定磁盘交互。 (磁盘已插入原机)
第二步:我曾经testdisk
从中恢复数据,并且成功完成。(磁盘通过SATA转USB适配器连接到我的笔记本电脑)
第三步:我尝试格式化硬盘,fdisk
但在尝试创建分区表并退出时出现读取错误。我能够删除旧的 NTFS/FAT32 分区,但无法创建新分区。
第四步:启动 Windows 安装程序并尝试从安装程序进行格式化,但出现错误,指出无法格式化磁盘。 (还是用原机的硬盘)
在这之后事情变得很奇怪。有时我的笔记本电脑可以识别硬盘,有时则不能。
第五步:我检查了磁盘smartmontools
,确实在某些扇区显示了一些读取错误。我尝试向这些扇区写入零,这似乎有效,但不确定是否有效。我尝试对磁盘进行分区,但现在fdisk
会抛出fdisk: cannot open /dev/sdb: Input/output error
.
第六步:我尝试使用分区parted
来打开磁盘,但它确实引发了一些我说忽略的错误。在大约 8 次忽略分区表和更多忽略实际分区(我设置为占用整个磁盘空间,从 1 到 500G)之后,会发生以下情况:
lsblk
现在有时会显示带sdb
分区的磁盘sdb1
,有时只显示磁盘,有时根本不显示。
smartctl
现在有时会显示数据/执行测试,但更常见的是它会抛出Read Device Identity failed: scsi error unsupported scsi opcode
.
hdparm -I /dev/sdb
投掷/dev/sdb: HDIO_DRIVE_CMD(identify) failed: Invalid argument
tune2fs
/debugfs
扔Bad magic number in super-block while trying to open /dev/sdb1
如果我断开磁盘并重新连接它,我必须重新创建分区表并使用parted
.
DMESG
连接驱动器时记录:
[ 4708.480592] sd 3:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[ 4708.480598] sd 3:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[ 4708.480603] sd 3:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 4708.480610] blk_update_request: critical medium error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 4708.480617] buffer_io_error: 6 callbacks suppressed
[ 4708.480620] Buffer I/O error on dev sdb, logical block 0, async page read
[ 4708.843190] sd 3:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[ 4708.843199] sd 3:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[ 4708.843204] sd 3:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[ 4708.843210] sd 3:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 01 00 00 07 00
[ 4708.843216] blk_update_request: critical medium error, dev sdb, sector 1 op 0x0:(READ) flags 0x0 phys_seg 7 prio class 0
[ 4708.843223] Buffer I/O error on dev sdb, logical block 1, async page read
[ 4708.843229] Buffer I/O error on dev sdb, logical block 2, async page read
[ 4708.843232] Buffer I/O error on dev sdb, logical block 3, async page read
[ 4708.843235] Buffer I/O error on dev sdb, logical block 4, async page read
[ 4708.843238] Buffer I/O error on dev sdb, logical block 5, async page read
[ 4708.843240] Buffer I/O error on dev sdb, logical block 6, async page read
[ 4708.843244] Buffer I/O error on dev sdb, logical block 7, async page read
[ 4708.976204] sd 3:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[ 4708.976212] sd 3:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[ 4708.976217] sd 3:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[ 4708.976223] sd 3:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 4708.976228] blk_update_request: critical medium error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 4708.976235] Buffer I/O error on dev sdb, logical block 0, async page read
[ 4709.153850] sd 3:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[ 4709.153860] sd 3:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[ 4709.153865] sd 3:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[ 4709.153871] sd 3:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 01 00 00 07 00
[ 4709.153877] blk_update_request: critical medium error, dev sdb, sector 1 op 0x0:(READ) flags 0x0 phys_seg 7 prio class 0
[ 4709.153885] Buffer I/O error on dev sdb, logical block 1, async page read
[ 4709.320307] sd 3:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[ 4709.320316] sd 3:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[ 4709.320321] sd 3:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[ 4709.320327] sd 3:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 4709.320333] blk_update_request: critical medium error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 4709.486795] sd 3:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[ 4709.486803] sd 3:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[ 4709.486809] sd 3:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[ 4709.486814] sd 3:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 01 00 00 07 00
[ 4709.486820] blk_update_request: critical medium error, dev sdb, sector 1 op 0x0:(READ) flags 0x0 phys_seg 7 prio class 0
[ 4709.488688] audit: type=1106 audit(1606925626.528:133): pid=2818 uid=0 auid=1000 ses=1 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 4709.489637] audit: type=1104 audit(1606925626.528:134): pid=2818 uid=0 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[ 4709.653391] sd 3:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[ 4709.653395] sd 3:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[ 4709.653398] sd 3:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[ 4709.653400] sd 3:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 4709.653403] blk_update_request: critical medium error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 4709.831007] sd 3:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[ 4709.831011] sd 3:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[ 4709.831013] sd 3:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[ 4709.831016] sd 3:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 01 00 00 07 00
[ 4709.831018] blk_update_request: critical medium error, dev sdb, sector 1 op 0x0:(READ) flags 0x0 phys_seg 7 prio class 0
[ 4709.997153] sd 3:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[ 4709.997162] sd 3:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[ 4709.997167] sd 3:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[ 4709.997173] sd 3:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 4709.997179] blk_update_request: critical medium error, dev sdb, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 4710.174596] sd 3:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s
[ 4710.174599] sd 3:0:0:0: [sdb] tag#0 Sense Key : Medium Error [current]
[ 4710.174602] sd 3:0:0:0: [sdb] tag#0 Add. Sense: Unrecovered read error
[ 4710.174604] sd 3:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 01 00 00 07 00
[ 4710.174607] blk_update_request: critical medium error, dev sdb, sector 1 op 0x0:(READ) flags 0x0 phys_seg 7 prio class 0
[ 4710.174653] ldm_validate_partition_table(): Disk read failed.
[ 4711.206717] sdb: unable to read partition table
我想我可以在整个硬盘上写零,但不确定这是否有帮助。有什么办法可以恢复这个硬盘吗?
答案1
你有一个坏磁盘。如果您避免尝试写入它,您可能能够刮掉它的一些残留物,但更新分区表几乎将这个想法放在一边。
我很抱歉告诉你一个坏消息,但它已经死了,你需要更换它。