[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ** Emegancy Request **

On Thu, 17 Aug 2000, Youri Albinovanus wrote:

> Bill wrote:
> > Hi All,
> >             Can someone please tell me the easiest and safest way to mirror
> > a Hard Drive,  keeping all permissions, owner, groups etc. intact
> >
> > Thanks in Advance
> > Bill
> >
> > --
> > To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Hello,
> If you need to mirror a disk in the same machine, you can try dd comand, this
> will really make an exact copy of your disk
> the command should be something like :
> dd if=/dev/hda of=/dev/hdb

This is a good solution if the drive you're mirroring to is *exactly the
same* as the disk you're mirroring from. If the physical geometry of each
drive does not match identically (one is a 2g quantum and the other a 4g
IBM, for instance) and you mirror the smaller drive on the larger drive /w
dd, the larger drive will show as a 2g unit. If you don't have same size
disks, use tar, as root:

tar cvf - / | ssh -l root <remote host> tar xvf -

(assuming you're going from one machine to another)

If you're mirroring to a local disk, you can generate the appropriate
command line to untar the filestream on the other disk.


How often I found where I should be going only by setting out for
somewhere else..
                                       -- R. Buckminster Fuller

Reply to: