Mirroring a server

Brian Densmore DensmoreB at ctbsonline.com
Tue Jan 27 15:27:27 CST 2004


> -----Original Message-----
> From: Duane Attaway
> 
> 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
This is totally evil and a huge waste of disk if the old disk is
a 4 GB and the new disk is a 40GB. Not to mention Linux may complain
that the disk says it is a 40GB drive and the partition info says it is
a 4GB drive.

> Other members of the list will tell you how evil that is, but 
> I say hard 
> drives are cheap these days.
So cheap means it's ok to waste? Sheesh how I hate that mentality.
Kind of reminds me of the thought patterns of a certain West Cost
software company. ;)

Why not just ghost it?
Or ghost4unix?
http://rfhs8012.fh-regensburg.de/~feyrer/g4u/

Of course g4u has similar problems that the above cat command does.
You will have to go in and create partitions of the leftover space
from a smaller disk to a larger disk. ;)

Hope this helps,
Brian




More information about the Kclug mailing list