From owner-freebsd-questions@FreeBSD.ORG Tue Jul 29 19:34:26 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 A185337B401 for ; Tue, 29 Jul 2003 19:34:26 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF3BE43FAF for ; Tue, 29 Jul 2003 19:34:24 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id A0859526F8; Wed, 30 Jul 2003 12:04:20 +0930 (CST) Date: Wed, 30 Jul 2003 12:04:20 +0930 From: Greg 'groggy' Lehey To: Richard Johannesson Message-ID: <20030730023420.GJ45069@wantadilla.lemis.com> References: <20030730012434.GF45069@wantadilla.lemis.com> <002c01c3563d$927b8c30$3d01a8c0@rjc800> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/01zi44O+BOvrkQq" Content-Disposition: inline In-Reply-To: <002c01c3563d$927b8c30$3d01a8c0@rjc800> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-questions@freebsd.org Subject: Re: Vinum on Root 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, 30 Jul 2003 02:34:27 -0000 --/01zi44O+BOvrkQq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [Format recovered--see http://www.lemis.com/email/email-format.html] Mutilated quotation, known broken MUA: > X-Mailer: Microsoft Outlook, Build 10.0.4510 On Tuesday, 29 July 2003 at 18:54:53 -0700, Richard Johannesson wrote: > On Tuesday, July 29, 2003 6:25 PM, Greg 'groggy' Lehey wrote: >> On Tuesday, 29 July 2003 at 18:00:25 -0700, Richard Johannesson wrote: >>> What I trying to get to is that there seems to be two styles of getting >>> vinum setup on a root drive: >>> I. 1. setup unix partitions for swap, /, /usr, and /var >>> 2. install FreeBSD5.1 >> >> It doesn't have to be 5.1. > > Ok, good to know. > >>> 3. go through the bsdlabel -e >>> 3.1 modify the swap with the 281 offset >>> 3.2 add vinum partition h: with the same size as c:, but with a >>> 16 offset >>> 4. create a vinum config file >>> --> 4.1 map each sub-disk to the exact size and offset as the unix >>> partitions >>> >>> II.1. setup unix partitions for swap and / >>> 2. install FreeBSD5.1 >>> 3. go through the bsdlabel -e >>> 3.1 modify the swap with the 281 offset >>> 3.2 add vinum partition h: with the same size as c:, but with a >>> 16 offset >>> 4. create a vinum config file >>> --> 4.1 create sub-disks using simply the size you want with no >>> offset >>> >>> Method I. comes from the Complete FreeBSD book. I actually got >>> this to work, but was wondering about the inflexibility of not >>> being able to change the partition sizes very easily. >> >> Once you have Vinum up and running, you can add and remove plexes and >> move things around like that. > > So, if I use Method I, as you specified in the book, can I then move those > particular partitions (/, /usr, /var) around without worrying about the > original unix partition layout (offsets etc)? So, the original /, /usr, /var > sizes and offsets won't limit the location of the /dev/vinum/root, > /dev/vinum/usr, /dev/vinum/var? They will for root, because you boot from the partition, not the volume. Also, you should understand that moving partitions means moving data. > For the mirroring case, should the swap partitions be mirrored too? That depends on whether you want to still have a swap partition if a drive fails :-) Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers --/01zi44O+BOvrkQq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE/Jy6sIubykFB6QiMRAqntAJ4zS5DPlXoUIaPeL/W3v/s47XsbVQCgi+gP f08qLr7YIVq66PngVvMxzVc= =PF/G -----END PGP SIGNATURE----- --/01zi44O+BOvrkQq--