Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 1999 18:10:25 -0700
From:      Jerry Preeper <preeper@cts.com>
To:        Andriss <andriss@andriss.com>, "Michael W. Akers" <mwakers@home.com>
Cc:        "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>
Subject:   RE: SCSI drive mirroring question
Message-ID:  <3.0.5.32.19990913181025.04488290@crash.cts.com>
In-Reply-To: <Pine.BSF.4.10.9909131439410.26816-100000@netmint.com>
References:  <01BEFDDB.98B61ED0@c67050-a.plstn1.sfba.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andriss,

I have a little perl script that is basically used out of cron to run a
program called mirrordir for me each night, mirroring two "identical" hard
drives on the same machine.  I believe the home page for it is at
http://www.obsidian.co.za/mirrordir/
and it can be downloaded from
ftp://lava.obsidian.co.za/pub/linux/mirrordir/

Jerry


At 02:43 PM 9/13/99 -0400, Andriss wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>Hello,
>
>Michael, thank you for your input.. I have a question regarding the
>script you sent me:
>
>>#!/bin/sh
>>#copy drive1 to drive 2
>>/bin/cp -R /export/home1/. /export/home2 2>&1 | tee -a /var/log/backup.log
>
>Wouldn't it just do the filesystem copy? I think it expects all the
>slices to be either already set up on the second drive, or it just
>copies it into one giant slice. It also doesn't preserve boot record,
>and I am not sure how it would treat devices...
>
>What I want is a true bit by bit mirror of the entire first drive...
>
>Can anyone suggest something that would do it?
>
>Andriss
>
>- --
>______________________________________________________________
>Andrey Kholodenko <andriss@andriss.com> http://www.andriss.com
>Download My Public PGP Key From http://www.andriss.com/pgp.txt
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>-----BEGIN PGP SIGNATURE-----
>Version: 2.6.3a
>Charset: noconv
>
>iQCVAwUBN91FuCQe9jf/ODl9AQF0/gP/RpUmNzokmoNzX2lIkdJesuLVaBghoWio
>y3gkTWsE/QllS25iKP3NO6j62angF+vrOnNd1t00LN9T1h89Bc4cK9vaT4IaILVI
>mqwx6nds7naVM70n4BpVSGNgl/zr7B5nV+NxHnaVdCCCHf1OndTrmkCRaA9WEYc+
>hmVIOOCNKHw=
>=he29
>-----END PGP SIGNATURE-----
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19990913181025.04488290>