From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 12:11:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFB5537B401 for ; Wed, 23 Jul 2003 12:11:35 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBBB543FB1 for ; Wed, 23 Jul 2003 12:11:34 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net.strauser.com (kirk@pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.9/8.12.9) with ESMTP id h6NJBWFl070104 for ; Wed, 23 Jul 2003 14:11:33 -0500 (CDT) (envelope-from kirk@strauser.com) To: freebsd-questions@freebsd.org References: <61117392.1058975488@[10.122.7.157]> <877k69z5p7.fsf@pooh.honeypot.net> <7653953.1058991702@[192.168.0.2]> From: Kirk Strauser Date: Wed, 23 Jul 2003 14:11:31 -0500 In-Reply-To: <7653953.1058991702@[192.168.0.2]> (Eivind Olsen's message of "Wed, 23 Jul 2003 20:21:42 +0200") Message-ID: <87he5dxdlo.fsf@pooh.honeypot.net> Lines: 38 X-Mailer: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: Installing FreeBSD onto Vinum-volumes? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 19:11:36 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable At 2003-07-23T18:21:42Z, Eivind Olsen writes: > Are you able to have a mirrored root-device (/) with this approach? Or > will you end up with having a single copy of / on one drive? I end up with a single copy of '/'. However, I partition (both,all) drives identically, so that each has a 200MB-or-so slice at the beginning. I use rsync from a cron job to make backups of '/' to the starting slice of each drive. The reasons I do this are that: 1) Any old FreeBSD boot floppy/CD can read the "mirrors" of '/' in the event that the root drive dies, regardless of the state of vinum. Makes disaster recovery that much easier. 2) You get a little bit of versioning for free. Accidentally overwrite /etc/master.passwd with mergemaster? Just grab the copy from /rootbackup. >> Out of curiosity, what offsets have you had to calculate? > I've read a bit of a chapter from the 4th edition of The Complete FreeBSD: > (or, as text > ). It suggests to install the > swap-partition first on the drive, setup a slice for vinum to cover the > entire drive and then run bsdlabel and change the offset and size for the > swap and vinum partitions. Weird. I've never bothered with any of that. I always just call "create" with: sd length 0 drive myDrive1 and let vinum calculate the correct sizes. =2D-=20 Kirk Strauser --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/Ht3k5sRg+Y0CpvERAp+6AJ4oJt9CK/7TqAh3FLgtnZlLW/GvmQCfRHCI pF3ByQZXltXcUb1vhGfVltk= =RTnr -----END PGP SIGNATURE----- --=-=-=--