Mirroring a server

Duane Attaway dattaway at dattaway.org
Tue Jan 27 01:45:10 CST 2004


On Mon, 26 Jan 2004, Jason Crowe wrote:

> All that to ask the best way to mirror a server.  :) (at least it's not
> spam)

Best way or the quickest?

I do it the wrong way and the quickest way possible:

cat /dev/hda > /dev/hdc
cat /dev/hdb > /dev/hdd

That would make an identical copy of your two drives on the primary 
channel onto the secondary channel.  It will work regardless of hard drive 
sizes only if the new drives are larger.  No need to format, repartition, 
or any of that.  The new drives will appear to be the same size as the 
older ones in every respect.

Other members of the list will tell you how evil that is, but I say hard 
drives are cheap these days.




More information about the Kclug mailing list