From owner-freebsd-questions@FreeBSD.ORG Tue Jul 29 18:58:38 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 13E2337B401 for ; Tue, 29 Jul 2003 18:58:38 -0700 (PDT) Received: from station189.com (station189.com [203.194.198.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 8015743F93 for ; Tue, 29 Jul 2003 18:58:36 -0700 (PDT) (envelope-from rtjohan@syspres.com) Received: (qmail 29178 invoked from network); 30 Jul 2003 01:58:41 -0000 Received: from unknown (HELO rjc800) (12.234.42.231) by station189.com with SMTP; 30 Jul 2003 01:58:41 -0000 From: "Richard Johannesson" To: "'Greg 'groggy' Lehey'" Date: Tue, 29 Jul 2003 18:54:53 -0700 Message-ID: <002c01c3563d$927b8c30$3d01a8c0@rjc800> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <20030730012434.GF45069@wantadilla.lemis.com> cc: freebsd-questions@freebsd.org Subject: RE: Vinum on Root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rtjohan@syspres.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2003 01:58:38 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Greg 'groggy' Lehey > Sent: Tuesday, July 29, 2003 6:25 PM > To: Richard Johannesson > Cc: freebsd-questions@freebsd.org > Subject: Re: Vinum on Root >=20 > On Tuesday, 29 July 2003 at 18:00:25 -0700, Richard Johannesson wrote: > > Is it possible to create vinum on a root drive without using the = offsets > in > > the vinum configuration file? >=20 > You need a configuration file to set up Vinum. If you mean "Is it > possible to create vinum on a root drive without specifying offsets in > the vinum configuration file?", the answer is yes. Sorry that's what I meant. Ok, that's good to hear. > > 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 >=20 > 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. >=20 > 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? > > Method II. Can't get this to work yet, but if it can work then = should be > > superior given the flexibility that is gained. >=20 > That'll work, but then you need to populate the volumes. >=20 > > So, can Method II work on a root drive? >=20 > Sure. >=20 > > If Method II works, why would you then ever want to implement Method > > I? >=20 > It's easier. You don't have to find a way to put things in your new > volumes. Ok, Method I is the best way to bootstrap the whole process, and once = you have a base setup running on vinum you still have the flexibility of = Method II anyway. If that's right, then Method I is definitely the way to go. > Greg For the mirroring case, should the swap partitions be mirrored too? Was under the impression that swap might be handled by a completely = separate process and that there was no need for vinum to have to handle any swap stuff. Thanks again, Richard > -- > 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