From owner-freebsd-stable Thu Feb 22 17:34:23 2001 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id E33ED37B491 for ; Thu, 22 Feb 2001 17:34:20 -0800 (PST) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id RAA30774; Thu, 22 Feb 2001 17:34:17 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda30772; Thu Feb 22 17:34:14 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.2/8.9.1) id f1N1Y9j31189; Thu, 22 Feb 2001 17:34:09 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdT31187; Thu Feb 22 17:33:22 2001 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.2/8.9.1) id f1N1XL865263; Thu, 22 Feb 2001 17:33:21 -0800 (PST) Message-Id: <200102230133.f1N1XL865263@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdK65259; Thu Feb 22 17:32:59 2001 X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: schubert To: "Corey G." Cc: Alexandr Kovalenko , lists , freebsd-stable@FreeBSD.ORG Subject: Re: installing onto a new drive from a running system In-reply-to: Your message of "Thu, 22 Feb 2001 19:10:20 CST." <20010222191020.A51735@telocity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Feb 2001 17:32:58 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010222191020.A51735@telocity.com>, "Corey G." writes: > I successfully did a dupe of my running FreeBSD 4.2 system using the > following method just a few weeks ago. My goal was to keep it as simple > as possible. I use pull out drives which makes this method even easier > for myself. > > 1. installed the second drive as a slave > 2. created partitions and labeled partitions using sysinstall from the > running system > 3. mounted each partition from the slave drive one at a time to /mnt > 4. used "rsync -avp /source/ /mnt" as my copy method for each FS > > When I was done I simply switched my master and slave drive and > rebooted. Everything worked without a single modification. > > Rsync was my choice, maybe not the fastest in this situation but it > worked. Rsync will work (I use it myself), however it does not preserve any schg flags. dump 0f - / | (cd /target && restore xf -) will preserve schg. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message