26
6
I had a 500GB drive HDD crash about 5 days ago. I used ddrescue
on the important partition a few days ago, and it's been on "Trimming failed blocks" for almost 2 days now.
Original command:
ddrescue -n /dev/rdisk1s2 /Volumes/OSXBackup/rdisk1s2.img /Volumes/OSXBackup/rdisk1s2.log
Current output:
Initial status (read from logfile)
rescued: 248992 MB, errsize: 1007 MB, errors: 15867
Current status
rescued: 249021 MB, errsize: 978 MB, current rate: 17408 B/s
ipos: 44405 MB, errors: 15866, average rate: 2784 B/s
opos: 44405 MB, time from last successful read: 0 s
Trimming failed blocks...
The original command used the ddrescue -n
parameter, and I have restarted the process a few times as needed (and it seemed to pick up right where it left off each time).
Is there any way to speed up this process?
Edit: Six hours later, this is the current status:
rescued: 249079 MB, errsize: 920 MB, current rate: 409 B/s
ipos: 39908 MB, errors: 15851, average rate: 2698 B/s
opos: 39908 MB, time from last successful read: 0 s
Trimming failed blocks...
It appears that while "errors" is counting down excruciatingly slowly, ipos/opos is counting down how much data it has to churn through, and it seems to be working at a rate of 750MB/hour. At this rate, it will complete in ~53 hours. Yikes.
Edit #2: Two days later, still running. However, there is hope. It has moved passed the "Trimming failed blocks" portion, and on to the next phase "Splitting failed blocks". If anything, what should be taken away from viewing this question is that this definitely takes a long time when a good amount of data/errors are involved. My only hope is that I can successfully recover some important data when all is said and done.
rescued: 249311 MB, errsize: 688 MB, current rate: 0 B/s
ipos: 26727 MB, errors: 15905, average rate: 1331 B/s
opos: 26727 MB, time from last successful read: 20 s
Splitting failed blocks...
My 4TB has taken 3 weeks to get to the Trimming phase... (I'm pretty sure it's all backed up, but doesn't hurt to rescue ;)) ... and thanks to @nza, I'm just hoping I'll get finished by Christmas – Stephen – 2018-08-19T10:30:37.610
1Well... this morning I calculated it had about a week to go based on the speed of the trimming, and voila! It's done! So ~ 3 weeks to get to trimming and ~3 weeks trimming. Scraping was really fast even though it was 1.93% of data - I guess the good and bad data is fast... just the in between horrifically slow? (I'm running again with
-M
just in case this morning's reboots and dist-upgrade made some sort of mess) – Stephen – 2018-09-09T11:59:28.4372Its by design, most likely. It does multiple passes to extract as much data out as possible – Journeyman Geek – 2012-04-18T05:36:42.267
19Crash a smaller hard drive next time ;-) – Joey – 2012-04-18T06:04:57.907