On 10/14/2011 06:30 AM, Mirko Vukovic wrote:
Hello,
The drive /dev/sda on which the kernel, root, and RHEL in general live
is slowly dying (based on smartctl). I have the replacement drive in
hand.
Is the following possible?
- put the replacement drive into an empty bay
- clone /dev/sda onto it like: /dd if=/dev/sda of=/dev/sdc
/- move the new drive into the /dev/sda drive bay
Only if you boot from a different disk. You can't use dd to make a good
copy of a mounted filesystem.
Or is there another preferable solution?
I would look at Clonezilla: http://clonezilla.org/
It will probably be faster than dd since it only copies sectors with
actual content instead of all the empty sectors on the drive. It is also
great for creating backup images in general.
--
Benjamin Franz
_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list