From owner-freebsd-questions Mon Sep 13 12: 9:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id 490DD14D5B for ; Mon, 13 Sep 1999 12:09:51 -0700 (PDT) (envelope-from mwakers@home.com) Received: from c67050-a.plstn1.sfba.home.com ([24.5.221.231]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with SMTP id <19990913190951.EZGI24479.mail.rdc1.sfba.home.com@c67050-a.plstn1.sfba.home.com>; Mon, 13 Sep 1999 12:09:51 -0700 Received: by c67050-a.plstn1.sfba.home.com with Microsoft Mail id <01BEFDE1.5BF7ADA0@c67050-a.plstn1.sfba.home.com>; Mon, 13 Sep 1999 12:13:16 -0700 Message-ID: <01BEFDE1.5BF7ADA0@c67050-a.plstn1.sfba.home.com> From: "Michael W. Akers" To: 'Andriss' Cc: "questions@FreeBSD.ORG" Subject: RE: SCSI drive mirroring question Date: Mon, 13 Sep 1999 12:13:15 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yeah, I know what you mean, Solaris had a real good utility for this = called ufsdump which would do a drive mirror to either another drive or = to tape. But I don't see any equivalent in FreeBSD. Try doing it the way = you originally described and then swap out the main disk with the = mirrored disk and see what happens.=20 Good Luck! Michael Akers M. Akers Enterprises =20 ---------- From: Andriss [SMTP:andriss@andriss.com] Sent: Monday, September 13, 1999 11:43 AM To: Michael W. Akers Cc: questions@FreeBSD.ORG Subject: RE: SCSI drive mirroring question -----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=3D =3Dhe29 -----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