Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Best method/tool for cloning a failing HDD for Data Recovery?

20 Sep 2015   #31
nkaufman

Win-7 Prof 64bit
 
 

1. Ok, will do.

5. From Anshad's post - "Then i booted the system using "Parted magic" and issued fdisk -l command to list the connected disk's details. sda is the 80 GB source drive, sdb is the target drive and sdc is the USB flash drive to store the log file ( The drive connected to SATA port 1 will be named "sda" , second one will be "sdb" )."

This suggests that he was using old HDD, new HDD and bootable flash drive (assuming this is what you refer to as pendrive). So these are the 3 drives, I don't think that he used 3 HDD along with bootable flash drive.

Hence I wanted to know why he used "/media/sdc1/Log" to save log to flash drive and if I should also do the same since you mentioned that using - recovery.log - in the command without disk nomenclature would save the log in the flash drive.

6. So I can try to create an image with Macrium as an alternative before using ddrescue. Good to know.

Thanks for your assistance and guidance and patience with my endless list of questions. I'm just trying to make sure I have all information before I do this tomorrow when I'll receive the HDD.


My System SpecsSystem Spec
.
20 Sep 2015   #32
jumanji

Windows 7 Home Premium 32 bit
 
 

I checked in another forum about the location of the log file, just to be sure that I don't make wrong statements.

It states "The log file is stored in the directory in which you run the command, unless you specify another location." So definitely it will be stored in the USB pendrive from which you run ddrescue. Just make sure that you use a large enough pendrive so that logfile can be accommodated. An 8GB or even 16GB pendrive should be fine. The log file may not generally exceed 100MB but the larger the drive to be cloned the larger it can be.

Also Anshad Edavana might have run ddrescue from a live CD. When you run it from a Live CD, ddrescue runs from the Ramdrive created in the system. So the log file also will be created in the RAM drive. When the PC is switched off the RAM drive is gone and so also the log file in it. So Anshad could have used a third pen drive to store the log file and directed it to that location.

Your questions are appreciated. When we dig deeper to answer, we learn what we have missed/ forgotten ( my memory does not last for more than 3 days ) or what we had very casually taken for granted.
My System SpecsSystem Spec
20 Sep 2015   #33
jumanji

Windows 7 Home Premium 32 bit
 
 

Here is another success story with ddrescue. Actually the second one in this forum.

Cant access partition, slow system & file record segment unreadable.
My System SpecsSystem Spec
.

20 Sep 2015   #34
nkaufman

Win-7 Prof 64bit
 
 

Quote   Quote: Originally Posted by jumanji View Post
Here is another success story with ddrescue. Actually the second one in this forum.

Cant access partition, slow system & file record segment unreadable.

That is great. Can't wait to run ddrescue when I receive my HDD tomorrow. Even I feel like dancing

P.S. Tried to create a disk image with Macrium but first got Error-2 - VSS, then am getting Error-1117 which is I/O device error.
My System SpecsSystem Spec
20 Sep 2015   #35
sdowney717

Windows 7 Ultimate x64
 
 

https://www.google.com/search?q=gddr...sm=93&ie=UTF-8

gddrescue is an improved version of ddrescue it seems to me.

and exist a gui which is nicer to use than commandline
https://launchpad.net/ddrescue-gui

Quote:
DDRescue-GUI is a program designed to make it easier to use GNU ddrescue (A Command-Line data recovery tool). It provides a simple graphical method for using ddrescue. This is designed to be as user-friendly as possible so users new to Linux can use ddrescue easily.
I need to boot into ubuntu and take a look myself. what is available.
I usually am on linux. I found it fun to learn new things.
My System SpecsSystem Spec
20 Sep 2015   #36
sdowney717

Windows 7 Ultimate x64
 
 

In Ubuntu there is the package gddrescue, and also a gui viewer for the resultant log file.
to run the command it is still ddrescue.

There exists though the nice gui package for ubuntu. I just installed it.
https://launchpad.net/ddrescue-gui
To run, it is in the system tools menu.

Here are some screens


Attached Thumbnails
Best method/tool for cloning a failing HDD for Data Recovery?-ddrescue1.png   Best method/tool for cloning a failing HDD for Data Recovery?-ddrescue3.png   Best method/tool for cloning a failing HDD for Data Recovery?-ddrescue4.png  
My System SpecsSystem Spec
21 Sep 2015   #37
nkaufman

Win-7 Prof 64bit
 
 

Started ddrescue on a 750GB HDD. After 4.33 hrs following is what I have:

rescued - 329888 MB errsize - 29251 kB
ipos/opos - 330017 MB errors - 312

Still on Pass 1.
My System SpecsSystem Spec
21 Sep 2015   #38
nkaufman

Win-7 Prof 64bit
 
 

Hello,

Found 2 pieces of information while googling:

(1) https://wiki.gentoo.org/wiki/Ddrescue
Run first
ddrescue -f -n /dev/sdb /root/sdb_rescue.img /root/rescue.log
-f: Force ddrescue to run even if the destination file already exists.
-n: Skip the splitting phase to avoid spending a lot of time trying to rescue the most difficult parts of a file.

Run next to copy only the bad blocks and try 3 times to read from the source before giving up.
ddrescue -d -f -r3 /dev/sdb /root/sdb_rescue.img /root/rescue.log

Do not know if the above approach provides any advantage (time taken?) over our current approach.

(2) https://www.technibble.com/forums/th...ue-help.43930/

I think I've found why Anshad used "/media/sdc1/Log" to save log to flash drive, I think jumanji also referred to LiveCD etc

Using
mkdir /media/storage
mount -t ntfs-3g /dev/zzz /media/storage
(where zzz is the disk name you want the logfile saved to)

then ddrescue command becomes
ddrescue -B -v -n /dev/XXX /dev/YYY /media/storage/logfile.log

which is what Anshad had
My System SpecsSystem Spec
22 Sep 2015   #39
nkaufman

Win-7 Prof 64bit
 
 

Quote   Quote: Originally Posted by nkaufman View Post
Started ddrescue on a 750GB HDD. After 4.33 hrs following is what I have:

rescued - 329888 MB errsize - 29251 kB
ipos/opos - 330017 MB errors - 312

Still on Pass 1.

After 14.49 hrs, following is the reading:
rescued - 750138 MB errsize - 17403 kB
ipos/opos - 231495 MB errors - 899
Splitting failed blocks

Since I'd not checked for around 10 hours, I do not know if this is pass-2 or pass-3 or a final step after 3 passes were made.

Any ideas on how much more time of rescuing am I looking at?

Thanks,
My System SpecsSystem Spec
22 Sep 2015   #40
nkaufman

Win-7 Prof 64bit
 
 

Another update before I leave for work:

rescued - 750151 MB errsize - 4452kB
ipos/opos - 231316 errors - 1945
runtime - 16.69 h, successful read - 15 min ago

So, errsize has gone down and errors have gone up. I'm hoping that there is an explanation for this and that this is normal.

Thanks,
My System SpecsSystem Spec
Reply

 Best method/tool for cloning a failing HDD for Data Recovery?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Imaging or cloning tool with best compression?
I really liked the Macrium tutorial here on Seven Forums but I would like to know what other software expert people use and know. I want to image (did it already in the past) the entire partition which have the operative system installed plus all software I need. The original partition will have...
Backup and Restore
Best Backup Method For 700GB Of Data
I have an external HD with 700GB of data. I would like to make a backup of the external, but copying the files would be very time consuming. Is there another method of backing up I can use that would be faster and just as reliable ?
Backup and Restore
Data recovery from failing hard drive
Hello, I have a failing hard drive but I can still access it when it is connected as an external USB drive (used to be the primary boot drive in a laptop) I want to copy as much of the data as possible from the "user" folder and sub folders. I select the folders I want to copy but the process...
General Discussion
advice wanted on cloning a failing(?) drive
Greetings! My drive has given me a blue screen for UNMOUNTABLE_BOOT_VOLUME about three times in the last month. I suspect that it might be getting ready to fail. I have gotten around the problem by using by Windows 7 repair option - it takes about 2 hours to run :( I'd like to install a new...
Backup and Restore
method and tool of protecting the security of user data residing in PC
Hi guys, Any idea about this. Method and tool of protecting the security of user data residing in PC and Laptops. 1.Pre boot encryption 2.Full Hard disk encryption 3.Data at rest encryption.
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App