I had a problem with one USB drive where suddenly I was getting a I/O error when trying to delete or do anything with a certain file. I ended up formatting it but the problem kept recurring so I just assumed that the drive was dying. I've just had the same thing happen to a second drive now so I'm suspicious.
Initially both drives had ntfs. I suspected perhaps it is just a bug in that so I am now trying with ext4 but I am still having problems. I tried to copy some files from one USB drive to another and the whole system froze and had to be forced off (no tty even). I am seeing this in the logs:
Feb 5 14:23:58 localhost kernel: sd 13:0:0:0: [sdd]
Feb 5 14:23:58 localhost kernel: Result: hostbyte=0x05 driverbyte=0x00
Feb 5 14:23:58 localhost kernel: sd 13:0:0:0: [sdd] CDB:
Feb 5 14:23:58 localhost kernel: cdb[0]=0x2a: 2a 00 00 11 5b b0 00 00 f0 00
Feb 5 14:23:58 localhost kernel: blk_update_request: I/O error, dev sdd, sector 1137584
Feb 5 14:23:58 localhost kernel: EXT4-fs warning (device sdd1): ext4_end_bio:317: I/O error -5 writing to inode 18350086 (offset 75497472 size 8388608 starting block 142228)
Feb 5 14:23:58 localhost kernel: Buffer I/O error on device sdd1, logical block 141942
Feb 5 14:23:58 localhost kernel: Buffer I/O error on device sdd1, logical block 141943
Feb 5 14:23:58 localhost kernel: Buffer I/O error on device sdd1, logical block 141944
Feb 5 14:23:58 localhost kernel: Buffer I/O error on device sdd1, logical block 141945
Feb 5 14:23:58 localhost kernel: Buffer I/O error on device sdd1, logical block 141946
Feb 5 14:23:58 localhost kernel: Buffer I/O error on device sdd1, logical block 141947
Feb 5 14:23:58 localhost kernel: Buffer I/O error on device sdd1, logical block 141948
Feb 5 14:23:58 localhost kernel: Buffer I/O error on device sdd1, logical block 141949
Feb 5 14:23:58 localhost kernel: Buffer I/O error on device sdd1, logical block 141950
Feb 5 14:23:58 localhost kernel: Buffer I/O error on device sdd1, logical block 141951
Feb 5 14:24:32 localhost kernel: usb 8-2: reset high-speed USB device number 5 using ehci-pci
Feb 5 14:25:20 localhost kernel: usb 8-2: reset high-speed USB device number 5 using ehci-pci
Feb 5 14:25:51 localhost kernel: usb 8-2: reset high-speed USB device number 5 using ehci-pci
Feb 5 14:26:22 localhost kernel: usb 8-2: reset high-speed USB device number 5 using ehci-pci
Feb 5 14:26:55 localhost kernel: usb 8-2: reset high-speed USB device number 5 using ehci-pci
Feb 5 14:27:26 localhost kernel: usb 8-2: reset high-speed USB device number 5 using ehci-pci
Feb 5 14:27:26 localhost kernel: sd 13:0:0:0: [sdd]
Feb 5 14:27:26 localhost kernel: Result: hostbyte=0x05 driverbyte=0x00
Feb 5 14:27:26 localhost kernel: sd 13:0:0:0: [sdd] CDB:
Feb 5 14:27:26 localhost kernel: cdb[0]=0x2a: 2a 00 00 13 5e 80 00 00 f0 00
Feb 5 14:27:26 localhost kernel: blk_update_request: I/O error, dev sdd, sector 1269376
Feb 5 14:27:26 localhost kernel: EXT4-fs warning (device sdd1): ext4_end_bio:317: I/O error -5 writing to inode 18350086 (offset 109051904 size 4194304 starting block 158702)
Feb 5 14:27:26 localhost kernel: buffer_io_error: 20 callbacks suppressed
Feb 5 14:27:26 localhost kernel: Buffer I/O error on device sdd1, logical block 158416
Feb 5 14:27:26 localhost kernel: Buffer I/O error on device sdd1, logical block 158417
Feb 5 14:27:26 localhost kernel: Buffer I/O error on device sdd1, logical block 158418
Feb 5 14:27:26 localhost kernel: Buffer I/O error on device sdd1, logical block 158419
Feb 5 14:27:26 localhost kernel: Buffer I/O error on device sdd1, logical block 158420
Feb 5 14:27:26 localhost kernel: Buffer I/O error on device sdd1, logical block 158421
Feb 5 14:27:26 localhost kernel: Buffer I/O error on device sdd1, logical block 158422
Feb 5 14:27:26 localhost kernel: Buffer I/O error on device sdd1, logical block 158423
Feb 5 14:27:26 localhost kernel: Buffer I/O error on device sdd1, logical block 158424
Feb 5 14:27:26 localhost kernel: Buffer I/O error on device sdd1, logical block 158425
Feb 5 14:28:47 localhost kernel: usb 8-2: reset high-speed USB device number 5 using ehci-pci
It is hadn't happened with a second drive I wouldn't even be questioning this but assuming this is not just a dying drive and it is not a bug in ntfs, can it be something else? I'm starting to wonder if there is something in my kernel that might be causing this?
Question
spectromas
I had a problem with one USB drive where suddenly I was getting a I/O error when trying to delete or do anything with a certain file. I ended up formatting it but the problem kept recurring so I just assumed that the drive was dying. I've just had the same thing happen to a second drive now so I'm suspicious.
Initially both drives had ntfs. I suspected perhaps it is just a bug in that so I am now trying with ext4 but I am still having problems. I tried to copy some files from one USB drive to another and the whole system froze and had to be forced off (no tty even). I am seeing this in the logs:
It is hadn't happened with a second drive I wouldn't even be questioning this but assuming this is not just a dying drive and it is not a bug in ntfs, can it be something else? I'm starting to wonder if there is something in my kernel that might be causing this?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts