shane0926 wrote:
This is all very interesting. Thank you for the reply. Pardon the delay as I have taken a break from it for a while. It's weird that you mention the relay/script method...as I just sat down to start tinkering with it again and began planning a method to use a separate PSU and a relay to cycle the drive at set intervals and attempt to resume the recovery. Then I logged into the forum and saw your response.
I can easily setup a relay to the the cycling, but I'm still trying figure the best way to accomplish the commands automatically in sync with the power cycle. I have even started to think about writing some sort of a simple Arduino program that could mimic keystrokes. Not sure...do you have any ideas?
One thing I would have to accomplish first though is force the drive to be assigned the same device name on each power cycle. It tends to move around. Sometimes it is assigned /sda and sometimes /sde which would obviously screw up the commands.
The reason for the large non-trimmed count is due to being unfamiliar with ddrescue in the beginning. I plan on restarting the recovery.
VERY BADDDDD IDEA !!!
First of all use the commands that i did mentioned with the TLL adaptor. Then try to clone the drive.
You don't want to power cycle the drive AT RANDOM !!!
The idea of the "relay" would be to power cycle the drive if and when it gets stuck at BSY or starts to only produce errors and for that you would need to monitor ATA registers and cycle the power if the drive is stuck at BSY when reading for example a specified LBA and the copy can't be resumed by issuing a soft reset !!!
You should use Sof-Reset FIRST !!! You don't want to power cycle a bad drive more than what you need .... It's way better to power it on and copy data as far as you can then cycle the power and have the drive read firmware again and re-initialize and test itself for defects.
Imaging that while you are reading the data the drive starts to add defects to the pending list and the list gets damaged. You power off/on the drive and translator is gone or you have firmware issues .... like Samsung with A-List problem or Seagate might get bad S.M.A.R.T. data, etc .... you only want to power cycle if it's NECESSARY and if you can't regain normal access with soft reset.
Also you don't want to be copying the data in a good way and then the drive just power cycles because you set a relay with a timer .... Doesn't make sense .... You will be wasting chances to get data and the drive will have more chances to die for good.
_________________
1Q9xrDTzTddUXeJAFRn37aqh1Yr6buDCdw - (Bitcoin Donations)
paypal.me/Spildit - (PayPal Donations)
The HDD Oracle - Platform for OPEN research on Data Recovery.