Mirroring a server

Jason Crowe jcrowe at cmuonline.net
Tue Jan 27 13:02:37 CST 2004


How can I keep the two servers mirrored after they are put into use? I 
had planned on using dd after the install. is using cat a better way?

Thanks,
Jason

Duane Attaway wrote:

> 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