#Cloning drive failure with dd
41 messages · Page 1 of 1 (latest)
Does your disk have SMART like any modern disk should?
The SSD doesn't matter
The error is happening on /dev/sdc
And that's input
I've seen disks that work perfectly fine yet when you try to move files off them they bail out
Thankfully on that disk the bad sector happened to be in the middle of an unimportant VM disk image
That doesn't usually cause IO errors
I need to see the various error counts
Stuff like "Offline_Uncorrectable"
sudo smartctl -a /dev/sdc
What you're describing looks like a very classical "unreadable sector fucking up a whole disk copy" issue
Yes, your disk may work fine
But any disk develops issues from time to time
And those issues may corrupt some unimportant files such as an obscure manpage you never use
Thus you just never know that something got corrupted
Your Current_Pending_Sector is 10
That means 10 sectors out of your 1 terabyte are bad and one of them is most likely causing your issue
Try to find a different disk cloning tool, dd doesn't support skipping one sector in the middle of other sectors
SMART will try to get the data off it, copy it to a good sector and disable the bad sector but it can't do that if it can't read the sector at least once
Currently they're still pending and that means Linux can still try to access them
dd is hitting one of those 10 and thus bailing out
vlad557776 received a thank you cookie!
I didn't really have a hard drive failure in quite a while so I never needed to do stuff like this, sorry
You're thanking too much ó_ò
Unreadable sectors are not in any way related to encryption
Unreadable sectors are just something an HDD develops over time
I don't use dd a lot so I don't really know, sorry
IIRC block size is something that mostly mattered in the old days
I'd use what the hardware reports
But most stuff that's dividable by the actual block size should work
Block size mattered with stuff like tapes and floppies with Unix FSes
It has mostly been standardized and irrelevant since mainframe days
#14152 📣 https://clonezilla.org/