dmesg 显示 0 512 字节逻辑块

dmesg 显示 0 512 字节逻辑块

上周我不幸地使用了外部硬盘驱动器,它不再旋转了。我有其他备份,所以我想我打开它看看出了什么问题。读写头被卡住并损坏,在磁盘上没有留下痕迹。

我决定用捐赠硬盘更新读/写头。整个过程很成功,磁盘旋转起来,但发出“奇怪的咔嗒”声,因为它无法在磁盘上对齐。

dmesg 输出以下内容:

scsi host6: usb-storage 5-1.2.4.4:1.0
[1821218.413643] scsi 6:0:0:0: Direct-Access     asmedia  ASMT1053         0    PQ: 0 ANSI: 6
[1821218.413865] scsi 6:0:0:0: Attached scsi generic sg6 type 0
[1821218.419210] sd 6:0:0:0: [sdg] Spinning up disk...
[1821219.436465] ................ready
[1821234.799407] sd 6:0:0:0: [sdg] 0 512-byte logical blocks: (0 B/0 B)
[1821234.799992] sd 6:0:0:0: [sdg] Write Protect is off
[1821234.799995] sd 6:0:0:0: [sdg] Mode Sense: 43 00 00 00
[1821234.800992] sd 6:0:0:0: [sdg] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[1821234.819785] sd 6:0:0:0: [sdg] Attached SCSI disk

我对这条线感到困惑

[sdg] 0 512-byte logical blocks: (0 B/0 B)

如果我使用原始 USB 控制器,也会发生同样的情况,但现在它显示我有 2 TB 而不是 500 GB:

sd 6:0:0:0: [sdg] Synchronizing SCSI cache
[1822017.465381] sd 6:0:0:0: [sdg] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[1822054.928729] usb 5-1.2.4.4: new high-speed USB device number 34 using xhci_hcd
[1822055.030814] usb 5-1.2.4.4: New USB device found, idVendor=0bc2, idProduct=2300, bcdDevice= 1.30
[1822055.030818] usb 5-1.2.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1822055.030820] usb 5-1.2.4.4: Product: Portable
[1822055.030822] usb 5-1.2.4.4: Manufacturer: Seagate
[1822055.030823] usb 5-1.2.4.4: SerialNumber: 00000000
[1822055.032443] usb-storage 5-1.2.4.4:1.0: USB Mass Storage device detected
[1822055.037447] usb-storage 5-1.2.4.4:1.0: Quirks match for vid 0bc2 pid 2300: 200000
[1822055.037492] scsi host6: usb-storage 5-1.2.4.4:1.0
[1822056.043927] scsi 6:0:0:0: Direct-Access     Seagate  Portable         0130 PQ: 0 ANSI: 4
[1822056.047311] sd 6:0:0:0: Attached scsi generic sg6 type 0
[1822056.048132] sd 6:0:0:0: [sdg] 4294967295 512-byte logical blocks: (2.20 TB/2.00 TiB)
[1822056.048421] sd 6:0:0:0: [sdg] Write Protect is off
[1822056.048422] sd 6:0:0:0: [sdg] Mode Sense: 2f 08 00 00
[1822056.050658] sd 6:0:0:0: [sdg] No Caching mode page found
[1822056.050662] sd 6:0:0:0: [sdg] Assuming drive cache: write back
[1822056.067536] sd 6:0:0:0: [sdg] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[1822056.067539] sd 6:0:0:0: [sdg] tag#0 Sense Key : Illegal Request [current]
[1822056.067541] sd 6:0:0:0: [sdg] tag#0 Add. Sense: Logical block address out of range
[1822056.067544] sd 6:0:0:0: [sdg] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[1822056.067545] print_req_error: 87 callbacks suppressed
[1822056.067547] blk_update_request: critical target error, dev sdg, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[1822056.067550] buffer_io_error: 93 callbacks suppressed
[1822056.067551] Buffer I/O error on dev sdg, logical block 0, async page read

LBA信息来自控制器吗?为什么是0,为什么是4294967295?

答案1

如果有人感兴趣的话——我通过更换 HDD BIOS 芯片设法获得了真实的大小。现在我可以用 ddrescue 慢慢地挽救一些数据 - 目前速度为 121kB/s。

答案2

某些磁盘通过将其大小报告为 0 块来表明其内部自检失败。

答案3

我知道这是一个迟到的回复,但是旋转硬盘上的“奇怪的咔哒声”被称为“死亡咔哒声”。它是由读/写头接触盘片制成的。一般情况下,应立即将此类磁盘断电,并请专业的数据恢复服务来恢复尽可能多的数据。当然,除非有该磁盘的重要数据的备份。

相关内容