我的 SATA HD 用作连接到 USB 端口的外部磁盘无法工作。当我尝试使用格式化它时sudo mkfs.ext4 /dev/sdj1
,我得到:“写出并关闭文件系统时输入/输出错误”。
在 中dmesg
,我看到
[ 3819.478357] usb 4-3: USB disconnect, device number 47
[ 3819.478535] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 3819.498268] blk_update_request: I/O error, dev sdj, sector 487239680 op 0x1:(WRITE) flags 0x4000 phys_seg 256 prio class 0
[ 3819.498366] blk_update_request: I/O error, dev sdj, sector 487241728 op 0x1:(WRITE) flags 0x4000 phys_seg 256 prio class 0
[ 3819.498432] blk_update_request: I/O error, dev sdj, sector 2048 op 0x1:(WRITE) flags 0x800 phys_seg 8 prio class 0
[ 3819.498444] Buffer I/O error on dev sdj1, logical block 0, lost async page write
[ 3819.498450] Buffer I/O error on dev sdj1, logical block 1, lost async page write
[ 3819.498453] Buffer I/O error on dev sdj1, logical block 2, lost async page write
[ 3819.498455] Buffer I/O error on dev sdj1, logical block 3, lost async page write
[ 3819.498458] Buffer I/O error on dev sdj1, logical block 4, lost async page write
[ 3819.498461] Buffer I/O error on dev sdj1, logical block 5, lost async page write
[ 3819.498463] Buffer I/O error on dev sdj1, logical block 6, lost async page write
[ 3819.498466] Buffer I/O error on dev sdj1, logical block 7, lost async page write
[ 3819.498514] blk_update_request: I/O error, dev sdj, sector 487243776 op 0x1:(WRITE) flags 0x4000 phys_seg 256 prio class 0
[ 3819.500108] blk_update_request: I/O error, dev sdj, sector 2528 op 0x1:(WRITE) flags 0x4800 phys_seg 2048 prio class 0
[ 3819.500114] Buffer I/O error on dev sdj1, logical block 480, lost async page write
[ 3819.500117] Buffer I/O error on dev sdj1, logical block 481, lost async page write
[ 3819.500927] blk_update_request: I/O error, dev sdj, sector 487245824 op 0x1:(WRITE) flags 0x4000 phys_seg 256 prio class 0
[ 3819.502469] blk_update_request: I/O error, dev sdj, sector 4576 op 0x1:(WRITE) flags 0x4800 phys_seg 2048 prio class 0
[ 3819.503514] blk_update_request: I/O error, dev sdj, sector 487247872 op 0x1:(WRITE) flags 0x4000 phys_seg 256 prio class 0
[ 3819.505103] blk_update_request: I/O error, dev sdj, sector 6624 op 0x1:(WRITE) flags 0x4800 phys_seg 2048 prio class 0
[ 3819.505902] blk_update_request: I/O error, dev sdj, sector 487249920 op 0x1:(WRITE) flags 0x4000 phys_seg 256 prio class 0
[ 3819.742439] sd 9:0:0:0: [sdj] Synchronizing SCSI cache
[ 3819.742459] sd 9:0:0:0: [sdj] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 3820.014442] usb 4-3: new SuperSpeed USB device number 48 using xhci_hcd
如果我没有其他磁盘和适配器可供测试,我可以查明问题是出在磁盘上还是出在 SATA 转 USB 适配器上?
答案1
可能是由于 USB 电缆损坏或/和外部电源不足/缺失。某些 USB 端口的功率太低,无法驱动 HDD。