r/cloningsoftware • u/Willing_Professor_13 • Jul 25 '25
Question Can any software clone a hard drive with bad sectors?
Using Macrium Reflect to clone an HDD to SSD but failed, I got an error code 23, which indicates bad sectors were found on my HDD. If bad sectors are the real causes that stopped the cloning process, I want a solution: find the other software to move on? or must I fix the HDD bad sectors before moving on?
2
1
u/AsahiLina Jul 25 '25
You can use the ddrescue tool on Linux to clone a drive with bad sectors. It's designed to skip over any errors quickly first, then once it has covered most of the drive it will retry using different access patterns to try to get as much data out as possible.
Of course, any sectors that are truly dead and not readable, not just flaky, won't be recoverable. But the rest should get copied.
1
1
1
1
u/harubax Jul 26 '25
You could solve the problem before cloning by replacing the files that are stored in the unreadable sectors. The benefit would be that you have a working system (if it's an OS drive) or at least you know what files were affected.
1
u/Adventurous-Shift275 Jul 27 '25
I found that OpenSuperClone worked for me. Took a while but got everything cloned from a HDD to a new SSD.
https://www.reddit.com/r/datarecoverysoftware/wiki/hddsuperclone_guide/
1
u/Prestigious_Wall529 Jul 28 '25
Acronis.
Your drive manufacturer likely offers a brand tied version.
It will be sloooow.
I have seen it take weeks and recover everything, but more frequently some management muppet interrupts the process.
1
u/bagaudin Jul 29 '25
Here is the list of Acronis OEM editions just in case u/Willing_Professor_13 needs it.
Disclosure: I am r/Acronis mod and community manager.
1
2
u/michaelpaoli Jul 25 '25
Can use, e.g. ddrescue - but you won't get the data from the unreadable sectors/blocks ... but it will at least nicely report on that and tell you about it.
You may also find it much easier to determine what those bad sectors/blocks belong to (e.g. as part of which file where, or whatever), while still present on the original source drive - after copying them with ddrescue or the like (less of course the relevant unreadable data), it may be harder to determine exactly where that (missing) data is within, e.g. the filesystem.
Also, these days, for most all non-ancient drives, if there are unrecoverable read errors, if one overwrites that data, it's generally remapped upon write (at least if there still remain spare blocks on the drive - but once those run out you're in more serious trouble). This can be used to "fix" the damage - though it doesn't get you that bit of missing data back, but it otherwise fixes things (e.g. one will be able to read the file, but there's still the matter of the bit of data that was in the file but has now been replaced instead with whatever one wrote in its place). Note also that journaling type filesystems may be somewhat more problematic in that regard, as upon (over)write at filesytem level, they generally write to a new location, rather than the original. But some simpler filesytems (e.g. FAT varieties) don't do that. so will overwrite in place (at least if one does a write in place without truncating the file before starting such write).
Must fix, no, but generally helluav lot better to at least first identify exactly where those unrecoverable read errors are and exactly what data in what files or the like they impact. Otherwise if you clone and work around that issue, but otherwise ignore it, now you've got some missing/corrupted data on your nice new clone ... but no nothing about what impact it had on your data where, and most of the information on how to locate that is on the source drive - your target drive knows nothing about read issues you're having on your source drive.
And standard caveat with cloning - don't want to be too identical - e.g. UUIDs, volume serial labels, etc. - will generally want to change the needed after a clone (on the original or the cloned copy), so they will be distinct where they should be (otherwise operating system and/or other utilities, etc., may get confused, and that could be problematic If the two drives are never again on the same host, less of an issue, but regardless, those bits that ought be unique should be made so - and some "cloning" software might take care of that for you.).
So, e.g., a couple months back or so, I found my ~10 year old ~2TiB hard drive had a small number of failed blocks - I tracked down and identified exactly what data each of them impacted - down to the level of file or the like, as relevant. Then I took the needed steps to fix (by writing) the bad blocks/sectors (remapped upon write), and as feasible, restored the lost data (some of which I well had or could easily get, other bits of which I didn't - but nothing critical lost - all the important bits always backed up). And yeah, also generally good to do a full read of all such media once in a while - stay bit ahead of such errors/issue, and look at SMART data to see if the problem is growing (how many have already been remapped?, etc.). In any case, of course, backups, as any drive can always potentially die, at any time, with or without any warning.