If the other tools fail to read files, then you might try to use ddrescue 
<http://www.gnu.org/s/ddrescue/ddrescue.html>.  Ddrescue doesn't fail at the 
first failure to read the disk. It tries multiple times. This can take a LONG 
time, though. Try dd_rescue if liveDVD's, clonezilla, and dump fails.  If all 
other tools fail, then use dd_rescue to save the image to another device. You 
can then run fsck and mount the image to transfer files that might not have 
transferred before. Be sure to compare files before blindly copying them, 
though.

RPMs for ddrescue: http://rpmfind.net/linux/rpm2html/search.php?query=ddrescue

---------------------------------------------------------------------------
Jason Edgecombe | Linux and Solaris Administrator
UNC Charlotte | The William States Lee College of Engineering
jwedg...@uncc.edu | http://coe.uncc.edu |  Facebook
---------------------------------------------------------------------------
If you are not the intended recipient of this transmission or a person 
responsible for delivering it to the intended recipient, any disclosure, 
copying, distribution, or other use of any of the information in this 
transmission is strictly prohibited. If you have received this transmission in 
error, please notify me immediately by reply e-mail or by telephone at 
704-687-3514.  Thank you.


-----Original Message-----
From: rhelv5-list-boun...@redhat.com [mailto:rhelv5-list-boun...@redhat.com] On 
Behalf Of Jonathan S Billings
Sent: Friday, October 14, 2011 11:37 AM
To: rhelv5-list@redhat.com
Subject: Re: [rhelv5-list] can I use dd to clone the failing "root" drive?

On 10/14/2011 11:06 AM, Bryan J Smith wrote:
> I had not attempted the "-a" or "--preserve=all" options with special
> nodes.  I guess I'm biased towards dumps, since they are most
> exacting for the file system.

Plus, dump goes directory to the device rather than through the kernel's 
VFS layer, so you don't even need to mount the filesystem.

Anytime someone says to use 'dd' I always suggest the filesystem's 
dump|restore.  There is a time and place for 'dd', but in most cases 
I've encountered, dump and restore is the better choice.

Plus, you can format the new disk with your choice of filesystem, often 
with more appropriate settings (block size, features, size of partition, 
etc.).

-- 
Jonathan Billings <jsbil...@umich.edu>
College of Engineering - CAEN - Unix and Linux Support

_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to