-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org]On Behalf Of Les Mikesell Sent: Friday, August 01, 2008 3:16 PM To: CentOS mailing list Subject: Re: [CentOS] Mirroring Hard Drive
Joseph L. Casale wrote:
brute force approach...
dd if=/dev/sda of=/dev/sdb bs=16384
That's probably the most safest, but you'll have to remove it before you boot if you use lvm right?
Doesn't clonzilla support lvm? Could you boot off a live cd to only copy actual data which should be quick in your case?
Clonezilla will handle LVMs, but I'm not sure if it is happy with cloned identifiers done disk<->disk in the same machine. It may drop back to dd for that anyway. If you have space on the network to store the image, let clonezilla copy to the network from the source box and clone it to disk on a different one. Unless the contents are extremely critical you probably don't need to clone back to a real disk anyway. That part would only take a few extra minutes when you need it.
I did this the other day with clonezilla and it worked great! It only took 15-20 minutes. I put the new clone in a different box and now use rsynce to keep things current. If you wanted to keep the drives in the same box I'm sure theres a way, with linux there always is :) Anyone?
Dan
<snip>