Data recovery from external HDD
Dear Forum,
Although I've been using Kubuntu now for some three years, I still consider myself a rookie, so here goes... I have an external Freecom HDD of 300 GB of almost 10 years old. It still functioned well until some weeks ago. All of a sudden, Dolphin would not open the disk anymore, although the percentage of the disk that was used (shown in a little blue bar underneath the disk label) did show. I have all sorts of data on it, and would like to create an image on another external HDD to rescue what I need and see if a good format would make it usable again (is this a correct train of thought ?) A quick search on the web showed me that ddrescue, or gddrescue as it is called, was the place to be. I tried following the advice on https://help.ubuntu.com/community/Da...ystem_or_drive So I freed up a lotof space on another external of 1 TB (My Book). My damaged FREECOM HDD is 300 GB, and about 50% occupied. On the 1 TB HDD, I have about 240 GB free, so that should work. The syntax I used is: Code:
sudo ddrescue -r 3 /media/FREECOM HDD /media/My Book/Backups/freecom/image /media/My Book/Backups/freecom/logfile Code:
ddrescue: Too many files. Code:
sudo ddrescue --no-split /media/FREECOM HDD /media/My Book/Backups/freecom/image /media/My Book/Backups/freecom/logfile Code:
ddrescue: Too many files. Any ideas ? Thanks heaps in advance ! |
Quote:
|
Additionally I should point out you shouldn't do that:
Quote:
*With plain old 'dd' you should be able to write to stdout and compress the output stream but you will only benefit from that if you know for sure (no "thinking", "guessing" or whatever else inaccurate assumption) the source disk contained a significant amount of repetitive data. Needless to say you would then either need a tool that can deal with compressed disk images or be forced to decompress the disk image anyway. |
Because it is an external drive, you may want to mount it internally if possible before recovering. This is often faster in terms of read speed, and it may help exclude broken controllers that are part of the SATA to USB conversion.
If you can't mount it internally, then continue recovering files, but as said above ddrescue requires at least as much space as the entire disk you are recovering. |
Hi all,
Thanks for all the advice. I first tried to mount the external hdd, using: Code:
sudo mkdir /media/freecom Code:
sudo ntfsck /dev/sdb Code:
Boot sector: Bad jump. Many thanks, much appreciated ! |
You have a few different options.
As ntfs is a Microsoft file system, it is potentially possible that Microsoft's own file system repair tools may be more successful. (sorry, I can't help their as I've never used them) You could try Photorec, part of TestDisk, to recover the data files. But keep in mind that Photorec will use generic numbered file names and figuring out which file is which is half the challenge/nightmare. You could try using TestDisk itself to recover the partition(s) I don't think ddrescue will be much use here unless the 'corruption' is purely the result of read errors from a damaged drive. If the file system is actually corrupted, both dd and ddrescue will simply copy the corrupted bits as-is. In data recovery and forensics, it is standard practice to make an as-is copy of the source drive onto a 'work' drive and then proceed to recover onto a third 'recovery' drive. However this assumes that you have at least two large drives each with more space available than the source drive. Your next step depends on how valuable the lost data is to you as recovering data can be a lot more work than it's worth for more trivial data. |
I'm recovering files using Photorec at the moment, and it's looking good !
Thanks again people, I hope I can take it from here and actually access my files tomorrow (14 h recovery to go) All the best ! |
All times are GMT -5. The time now is 12:07 PM. |