I could not think of a good title for this.
What happens is, I have an external USB disk I use for backup. I put a 300GB ext4 at the beginning and an 100GB NTFS partition farther on. I use rsync for backups. This worked fine for a couple days, then every time I tried to mount the disk, I see many, many occurences of this in /var/log/kern.log
Jul 5 18:29:15 jon-desktop kernel: [40064.658572] sd 5:0:0:0: [sdd] Unhandled sense code
Jul 5 18:29:15 jon-desktop kernel: [40064.658578] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.658581] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 5 18:29:15 jon-desktop kernel: [40064.658584] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.658586] Sense Key : Medium Error [current]
Jul 5 18:29:15 jon-desktop kernel: [40064.658590] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.658594] Add. Sense: Unrecovered read error
Jul 5 18:29:15 jon-desktop kernel: [40064.658597] sd 5:0:0:0: [sdd] CDB:
Jul 5 18:29:15 jon-desktop kernel: [40064.658599] Read(10): 28 00 00 03 28 78 00 00 08 00
Jul 5 18:29:15 jon-desktop kernel: [40064.658610] end_request: critical target error, dev sdd, sector 206968
Jul 5 18:29:15 jon-desktop kernel: [40064.696323] sd 5:0:0:0: [sdd] Unhandled sense code
Jul 5 18:29:15 jon-desktop kernel: [40064.696329] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.696332] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 5 18:29:15 jon-desktop kernel: [40064.696335] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.696337] Sense Key : Medium Error [current]
Jul 5 18:29:15 jon-desktop kernel: [40064.696342] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.696344] Add. Sense: Unrecovered read error
Jul 5 18:29:15 jon-desktop kernel: [40064.696348] sd 5:0:0:0: [sdd] CDB:
Jul 5 18:29:15 jon-desktop kernel: [40064.696350] Read(10): 28 00 00 00 08 78 00 00 08 00
Jul 5 18:29:15 jon-desktop kernel: [40064.696360] end_request: critical target error, dev sdd, sector 2168
I took the disk to my local store who tested it and said the disk is kaput. So I had it replaced with a 1TB disk and partitioned it similarly, but with the ext4 at 500GB. Same result, it works for a while, then dies.
I used Gparted to destroy the partition and create a new one in ext2, which I have used with success on other disks, but with smaller file systems (<200GB). Same result. Btw, the NTFS partition is not affected by this.
I can't believe this can be due to the controller in the box containing the disk. Is there some problem with rsync with large partitions?
What happens is, I have an external USB disk I use for backup. I put a 300GB ext4 at the beginning and an 100GB NTFS partition farther on. I use rsync for backups. This worked fine for a couple days, then every time I tried to mount the disk, I see many, many occurences of this in /var/log/kern.log
Jul 5 18:29:15 jon-desktop kernel: [40064.658572] sd 5:0:0:0: [sdd] Unhandled sense code
Jul 5 18:29:15 jon-desktop kernel: [40064.658578] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.658581] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 5 18:29:15 jon-desktop kernel: [40064.658584] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.658586] Sense Key : Medium Error [current]
Jul 5 18:29:15 jon-desktop kernel: [40064.658590] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.658594] Add. Sense: Unrecovered read error
Jul 5 18:29:15 jon-desktop kernel: [40064.658597] sd 5:0:0:0: [sdd] CDB:
Jul 5 18:29:15 jon-desktop kernel: [40064.658599] Read(10): 28 00 00 03 28 78 00 00 08 00
Jul 5 18:29:15 jon-desktop kernel: [40064.658610] end_request: critical target error, dev sdd, sector 206968
Jul 5 18:29:15 jon-desktop kernel: [40064.696323] sd 5:0:0:0: [sdd] Unhandled sense code
Jul 5 18:29:15 jon-desktop kernel: [40064.696329] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.696332] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jul 5 18:29:15 jon-desktop kernel: [40064.696335] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.696337] Sense Key : Medium Error [current]
Jul 5 18:29:15 jon-desktop kernel: [40064.696342] sd 5:0:0:0: [sdd]
Jul 5 18:29:15 jon-desktop kernel: [40064.696344] Add. Sense: Unrecovered read error
Jul 5 18:29:15 jon-desktop kernel: [40064.696348] sd 5:0:0:0: [sdd] CDB:
Jul 5 18:29:15 jon-desktop kernel: [40064.696350] Read(10): 28 00 00 00 08 78 00 00 08 00
Jul 5 18:29:15 jon-desktop kernel: [40064.696360] end_request: critical target error, dev sdd, sector 2168
I took the disk to my local store who tested it and said the disk is kaput. So I had it replaced with a 1TB disk and partitioned it similarly, but with the ext4 at 500GB. Same result, it works for a while, then dies.
I used Gparted to destroy the partition and create a new one in ext2, which I have used with success on other disks, but with smaller file systems (<200GB). Same result. Btw, the NTFS partition is not affected by this.
I can't believe this can be due to the controller in the box containing the disk. Is there some problem with rsync with large partitions?
Comment