It's important to study the contents of the document, but it doesn't make sense to roll out a 300+ year old piece of historical parchment onto your desk to do so. Think of your hard drive like the original Declaration of Independence. When your hard drive becomes corrupted or physically damaged, every action you perform on it can cause the loss of more data. Likewise, data recovery technicians and antique restoration professionals share a best practice for achieving this objective: handle the delicate object as little as possible. The goal is to recover as much valuable information as possible while keeping the original source material intact. Then keep reading it in, in blocks of that size.Įventually you will have your entire drive imaged.The job of a technician tasked with recovering data from a heavily damaged disk is similar to that of a restoration expert working on an antique or historical document. You can experiment with larger and larger count,skip,seek values to reduce the time it takes.īasically you need to reach the maximum number of sectors you can read in 30 seconds (the fail time). So now you just have to keep advancing the skip and seek values by the same factor as the count value. "seek" advances the start position in the output file. So "skip" should skip the first 1000 sectors you already have. Ok so now you have the first 1000 sectors. Or dd bs=512 if=/dev/sda of=/location/of/output/drv.img count=1000 ![]() However, the hard drive will stop working every 30 seconds, and it will still have to be unplugged and re plugged every 30 seconds. You could try ddrescue ddrescue -d -r3 /dev/sda test.img test.logfile However, I don't know if your ready for this kind of complexity. So basically if you put the hard drive in an external usb chassis then an outlet strip could be used to automatically turn it OFF and ON to wake it up for 30 more seconds. ![]() I have done it, but not for this purpose. ![]() I am sure other brands of outlet strip might be able to do it, but I know for sure the kasa hs300 ($69.99 - $89.99 depending on the store and sale prices) has a python API on github ( ) that can control there outlet strip from within linux. The only way to automate this is if you have an controlled outlet strip that you can periodically have a script turn OFF and ON with the hard drive on a separate power supply plugged into said outlet strip. You will need an output device larger than the source. It could be the hard drives motor failing, in which case changing that is beyond 90% of peoples skill set. Sounds like the hardware is failing you can't fix that your going to have to accept some amount of tedious into this process. So it is going to take some experimentation but since paid recovery doesn't sound like an option try this. Obviously paid recovery services are the best option, they can replace the motor and any other failed components.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |