[CentOS] Mirroring Hard Drive

Fri Aug 1 20:15:38 UTC 2008
Les Mikesell <lesmikesell at gmail.com>

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.

-- 
   Les Mikesell
    lesmikesell at gmail.com