From owner-freebsd-questions@FreeBSD.ORG Sat Sep 13 21:15:08 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 11A3516A4BF for ; Sat, 13 Sep 2003 21:15:08 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF62643FAF for ; Sat, 13 Sep 2003 21:15:06 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp110-136.lns1.adl1.internode.on.net [150.101.110.136])h8E4F1qU050458; Sun, 14 Sep 2003 13:45:02 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Lewis Thompson , FreeBSD-questions Date: Sun, 14 Sep 2003 13:45:01 +0930 User-Agent: KMail/1.4.3 References: <20030914005325.GG603@lewiz.org> In-Reply-To: <20030914005325.GG603@lewiz.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200309141345.01468.malcolm.kay@internode.on.net> Subject: Re: Vinum for 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: Sun, 14 Sep 2003 04:15:08 -0000 On Sun, 14 Sep 2003 10:23, Lewis Thompson wrote: > Hi, > > I'm looking to setup my new FreeBSD 5.1 server with a mirrored vinum > volume. I've read through the necessary handbook entries but it doesn'= t > seem to answer my question: > > I'm wanting to do this at install time -- is this possible? The > ``Using Vinum for the Root Filesystem'' chapter doesn't seem to cover > this (as far as I can see). If it is possible, some hints would be > greatly appreciated. > > I'm booting from a mini ISO and the console is pretty limited (I > couldn't kldload vinum). Is this right? > I did this with 4.8 -- bare outlines only -- certainly not the quickest=20 approach but probably the easiest conceptually (at least for me). 1) Install a conventional minimal installation on the first disk. This will be overwritten later so don't fuss too much about details. 2) Use to partition the second disk in a vinum compatible configuration using disklabel (bsdlabel, I believe in 5.x) but including convention= al partitions for the system beginning 265 sectors inside the vinum partition (which in turn should start 16 sectors inside the slice; ie= 16 sectors inside partition c -- saves disklabel from being over written= ). 3) Go back to your installation CD and install the system you want on the conventional partitions you created in step 2). Be careful not to edi= t the slice or partition mapping during installation!=20 4) Boot into the new system. Map the conventional partitions to vinum=20 volumes. Start vinum -- replace fstab entries with corresponding vinu= m volume references and configure /boot/loader.conf to boot into vinum. 5) You should now be able to boot directly into vinum; but no mirror yet. While in that system remap the slices and partitions on the first dis= k to match those on your second disk. You should now be able to create the mirror plexes here and append them to the vinum volumes already created. Apart from filling in the detail using information in the handbook and ma= n pages you should now be there! Malcolm