From owner-freebsd-questions Mon Sep 13 18:15:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from trixie.teamspirit.com (trixie.teamspirit.com [204.94.66.2]) by hub.freebsd.org (Postfix) with ESMTP id CCB9014C05 for ; Mon, 13 Sep 1999 18:15:45 -0700 (PDT) (envelope-from preeper@cts.com) Received: from sgt361.teamspirit.com (dt2-blk1-hfc-0251-d1db0ca7.rdc1.sdca.coxatwork.com [209.219.12.167]) by trixie.teamspirit.com (8.9.2/8.9.1) with SMTP id SAA08188; Mon, 13 Sep 1999 18:30:21 -0700 (PDT) Message-Id: <3.0.5.32.19990913181025.04488290@crash.cts.com> X-Sender: preeper@crash.cts.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 13 Sep 1999 18:10:25 -0700 To: Andriss , "Michael W. Akers" From: Jerry Preeper Subject: RE: SCSI drive mirroring question Cc: "questions@FreeBSD.ORG" In-Reply-To: References: <01BEFDDB.98B61ED0@c67050-a.plstn1.sfba.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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