私の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を駆動するには電力が低すぎます。