How to recover data from heavily damaged external hard drive?

8,904

The process of data recovery - particularly if you are a Linux user and familiar with the command line is quite simple and well established (and repeated many times here !)

Note: Do not do anything else to try and recover your data (short of giving it to an expert) until you have done the first 3 steps below.

  1. Download and installl Photorec, and (Gnu) DDRescue.
  2. Obtain and install another disk at least as large as your existing failed disk - or find space on an existing drive.
  3. Use DDRescue to make a bit copy of the drive. This may take several attempts, and you might want to try parsing from the front of the disk, then backwards - You can run this program as many times as required. The process will take a long time - generally, on a disk which is failing, the longer you wait (think days) the more you will recover.

Ideally make a copy of the DDRescue copy of the disk, and attempt to rescue/repair off that. If thats not an option, some tools will allow you to recover data off the disk to a new location. Repairing the copied raw disk is not recommended as it could corrupt the data further.

Running Photorec will often allow for the recovery of smaller files regardless of the disk format.

If you can mount the disk copy read-only and pull data off that, thats probably the best way to go.

If you can copy the copy, you can attempt to do disk repairs (checkdisks etc) on that. If it fails you can always clone the copy again.

Share:
8,904

Related videos on Youtube

PatrykB
Author by

PatrykB

Updated on September 18, 2022

Comments

  • PatrykB
    PatrykB almost 2 years

    In the first place I have sent my external HDD to the data-recovery specialist. Unfortunately the recovery cost was estimated to be equal to the value of a new high performance computer.

    Paying this much is beyond my reach, therefor I have to ask; is there anyone willing to guide me through the process of data recovery?


    Spec:

    OS: Debian 9 -rc 3 / Windows 8.1 home
    HDD: WD My Passport ultra 2.0 TB 3.0 USB
    HDD file-system: NTFS


    Specialist's diagnosis:

    1. Damaged disk service area.
    2. Damaged disk surface.
    3. Due to the surface damage, disk enters emergency mode.
    4. Damaged disk head is suspected but not confirmed.

    Suggested course of action:

    1. In order to access the disk's firmware, one should solder into disk's electronics.
    2. Then disk's service area should be repaired.
    3. Then get the disk out of the emergency mode.
    4. Then make sector copy of the disk.
    5. Then check the consistency and correctness of the record.

    How did it happen:

    While in the process of copying some data, to the external HDD, my OS froze. When the OS came back to normal I was unable to write or read any data from the disk, any attempt would result in an I/O Error. After I rebooted the OS I was unable to mount the drive.

    I can't understand how this simple event, could cause so tremendous damage...
    Any explanation will be appreciated! (I have to understand what went wrong)


    My doubts:

    After my disk was diagnosed, I consulted the results with competitive data-recovery specialists (simple chat via a phone). And most of them told me that this diagnosis is not accurate... Because out of 5 possible things that could break in any hard drive, my hard drive have been diagnosed with 4 of them and that is a bit suspicious...

    1. I don't believe that disk head is damaged.
    2. I believe that there is a way to repair disk's service area with out welding into disk's electronics.
    3. I believe it is possible to boot the disk into normal mode without interfering with the hardware.

    For the sake of my data, i have to assume that the diagnosis was correct...


    Additional info:

    My disk can not be mounted. It does not appear under /dev/sd*/, but it can be found with lsusb

    Disk is clicking once per 2 or 3 minutes... I find it strange. I was unable to find out the meaning of this behavior. I think its related to the driver initialization failure.


    Very important update:

    I plugged in this external HDD and to my surprise it mounted. I was also able to see file system, and copy single most important project. After that disk failed again... I pushed my luck a bit, but now i know for sure that disk surface is OK (there was no I/O Errors) and the head is OK (or at least it was OK).

    For now I put the HDD on the shelf. But since my data are not corrupted, what should be the next step? What should I do to get all of my data back?


    Update #2:

    Now I am facing an inaccessible HDD error. Disk is being mounted under /media/<user>/ upon plugging in. It takes a while to mount.

    When I try to open the HDD at the GUI level I am getting Unable to access My Passport: an operation is already pending error.

    When I try to access it via console i get:

    patryk@debian-pc:~$ cd /media/patryk/My\ Passport/
    cd: permission denied
    
    patryk@debian-pc:~$ ls -la /media/patryk/My\ Passport/
    ls -la: permission denied
    
    patryk@debian-pc:~$ sudo ls -la /media/patryk/My\ Passport/
    drwxrwxrwx  1 patryk patryk    4096 May 20 16:18 .
    drwxr-x---+ 3 root   root      4096 May 27 00:30 ..
    

    But this HDD is periodically coming back to life !!! Once every ~10 hours it will mount without any problem. I will be able to copy a single (text-like) file and then it fails again.

    Right now I do not understand what could be the cause of this behavior, therefore i am trying to learn as much as I can.

    Also I have found my old HDD and to my surprise it is still working (it reports I/O Errors from time to time). I am testing suggested methods on this HDD in order make myself familiar with them, and in order to reduce the chance of my error.

    I will keep this Question updated with every piece of news. In mean while i could use an advice;

    • what do you think is the cause of this behavior? (Disk is coming back to life once every 10 or so hours?)
    • Is is a good idea to run ddrescue(or others recommended programs) on this disk, while it is in the state of inaccessibility? I am asking this Because i am sure that the disk will become inaccessible right after i will start the data recovery process.
    • Admin
      Admin about 7 years
      Comments are not for extended discussion; this conversation has been moved to chat.
    • Admin
      Admin about 7 years
      I know a guy who wanted to "play" with a clicking drive (no valuable data on it). He opened it, moved the stuck head a bit and resealed it. This sounds horrible but he actually got it working again. Not that I really recommend doing this but you could try as a last step before trashing it.
    • Admin
      Admin about 7 years
      How long ago was this? If you have a stuck head this can be done, but really needs to be done in a clean room, the data recovered and the disk trashed. The op problem is not a stuck head though.
    • Admin
      Admin about 7 years
      Two months ago, no clean room, no experience, just an extremely lucky guy that made me gasp when he reported his experiment. That's why I would never try the same with valuable data.
    • Admin
      Admin about 7 years
      cukier9a7b5, assuming your disk is really showing up (doesn't seem to be like that from your post) refer to these instructions on using Testdisk (for the Linux part) and RecuperaBit (for the Windows part), after cloning the drive of course: superuser.com/a/1165578/278831
    • Admin
      Admin about 7 years
      @AndreaLazzarotto disk is showing up (mounting) in the /media/user/ but now it evolved into inaccessible disk error. I am going to treating it with ddrescue / testdisk / RecuperaBit but right now i am a scared of plugging it (due to possible data lost) and i am experimenting with some old but still healthy HDD. Just to make sure that i will know what to do when i will attempt to recover data from the damaged HDD.
    • Admin
      Admin over 5 years
      How on earth did this close vote get by 5 people including a moderator? The linked question isn't even remotely a duplicate. One is about recovering a deleted folder and the other is about recovering data from a physically damaged hard drive. Please read close votes more carefully before just blindly clicking.
  • PatrykB
    PatrykB about 7 years
    I definitely will test them, but i have to admit, i am bit afraid of connecting (mounting) this disk. Who knows how many data will be corrupted due to this action. BTW I have a windows OS.
  • gronostaj
    gronostaj about 7 years
    Symptoms described in the question strongly suggest hardware failure that caused OS crash, not the other way around. Just as @OP suspects, fiddling with the drive will most likely only cause more damage and will make professional data recovery harder and more costly.
  • JustAGrump
    JustAGrump about 7 years
    @gronostaj That's debatable. He is questions the first tech's report. Based on the device was communicating and then failed based on a OS freeze does not typically lean towards a hardware failure. If he hears clicking on the device, that's different. This is also a link from WD, which troubleshoots the main issue, I/O error. Even their troubleshooting for external devices point to using these to assist in verifying. support.wdc.com/knowledgebase/answer.aspx?ID=15156
  • PatrykB
    PatrykB about 7 years
    @MarkUbben I am bit ashamed... I haven't seen this disk for couple days and I forget this disk IS clicking... But this is bit strange... It clicks just once per 2 or 3 minutes. I was unable to find the meaning of this warning, but i believe its related to the driver initialization failure (disk boots into emergency mode). OS tries to initialize the driver, waits for 120 sec and then hits an time-out. I believe this process is lopped.
  • gronostaj
    gronostaj about 7 years
    Clicking every now and then is normal in WDs. I've had three 2.5" WD drives and all of them clicked once an hour or so. I suppose it has something to do with head parking, so it can be more frequent with external drives. One of these drives is still in service after 3 years, I've sold the other two but they worked fine for at least a year each. The famous click of death happens in short, regular intervals.
  • JustAGrump
    JustAGrump about 7 years
    @cukier9a7b5 The short clicking (2~3) minutes could be either or, but typically implies an issue with the circuit board. I would communicate with WD to see what they will cover for their warranty. One option is to by the same model, and swap the circuit board to see if that resolves the issue.
  • PatrykB
    PatrykB about 7 years
    @MarkUbben I plugged in the hard drive, and to my surprise it mounted. I was able to copy single project from my drive before it failed again. Even thought I pushed my luck I confirmed that my disk surface is intact, and head is working (or at least it was working - it is possible that i damaged it further during copying the data). I think that USB - SATA bridge is damaged but i have no way of testing it.
  • Ramhound
    Ramhound about 7 years
    It clicks just once per 2 or 3 minutes. - A healthy drive should click never.
  • Andrea Lazzarotto
    Andrea Lazzarotto about 7 years
    "Quite simple" if the disk doesn't have hardware damage. Also, Photorec is a file carver, i.e. the last thing to try and not the first one. OP would probably want to preserve the file system structure that can be done reliably with more proper tools for NTFS and usually for Ext as well.
  • davidgo
    davidgo about 7 years
    DdRescue is designed specifically to handle disks with hardware damage where they are still readable as per OP situation. You don't want to do repairs on the copy you created for risk of making things worse. Using DdRescue does preserve filesystem structure.
  • Andrea Lazzarotto
    Andrea Lazzarotto about 7 years
    OP wrote "It does not appear under /dev/sd*/", besides your statement that data recovery is quite simple is a gross oversimplification and risks giving false hopes to readers. We already have users who ask remedy for improbable situations like drives not spinning, or overwritten data so we should be clear what is simple, what is doable and what is impossible. "You don't want to do repairs on the copy" Of course, I think nobody here mentioned doing repairs on the copy. "does preserve filesystem structure" And the next logical step is using appropriate tools that understand these, not Photorec.
  • davidgo
    davidgo about 7 years
    You might want to reread the post. He subsequently wrote "I plugged in this external HDD and to my surprise it mounted. I was also able to see file system, and copy single most important project. After that disk failed again..." . Rather then focussing on your perceived deficits in my answer why don't you write your own. Comments like "OP would probably want to preserve the file system structure that can be done reliably with more proper tools for NTFS and usually for Ext as well" do not exactly help someone - what tools do you propose and how do you propose to do it ?
  • Andrea Lazzarotto
    Andrea Lazzarotto about 7 years
    Your answer is fine as long as carving is kept as last resort after all other approaches have been exhausted. I don't just propose a tool, for NTFS I actually developed it. :) Anyway it seems this question has been marked duplicate to one which also has an answer of mine so I guess I cannot add one here.