From owner-freebsd-questions@FreeBSD.ORG Sun Dec 28 22:37:23 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 B49F716A4CF for ; Sun, 28 Dec 2003 22:37:23 -0800 (PST) Received: from freep.dyns.net (adsl-64-170-112-11.dsl.snfc21.pacbell.net [64.170.112.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 93B0943D48 for ; Sun, 28 Dec 2003 22:37:03 -0800 (PST) (envelope-from micheas@micheas.dyns.net) Received: (qmail 91522 invoked from network); 29 Dec 2003 06:37:03 -0000 Received: from tux.a (HELO tux) (mail@10.0.0.173) by sol.a with SMTP; 29 Dec 2003 06:37:03 -0000 Received: from micheas by tux with local (Exim 3.36 #1 (Debian)) id 1Aar1T-0000ZE-00 for ; Sun, 28 Dec 2003 22:37:03 -0800 From: Micheas Herman To: freebsd-questions@freebsd.org In-Reply-To: <1072672057.1411.22.camel@tux> References: <1072672057.1411.22.camel@tux> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Free Print Shop Message-Id: <1072679822.1411.37.camel@tux> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 28 Dec 2003 22:37:03 -0800 Sender: Micheas Herman Subject: Re: Booting from vinum RAID 1: How should I edit my disk label? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: micheas@freep.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 06:37:23 -0000 On Sun, 2003-12-28 at 20:27, Micheas Herman wrote: > Hi, > > I am following "13.9.2 Making a Vinum-based Root Volume Accessible to > the Bootstrap" from the FreeBSD Handbook. > > Here is where I am at: > > (/dev/vinum/root is mounted at /newroot ) > > # cat /newroot/boot/loader.conf > # the following two lines so we can boot from vinum. > > vinum_load="YES" > vinum.autostart="YES" > > > # vinum l -rv root > Volume root: Size: 146664960 bytes (139 MB) > State: up > Flags: open > 2 plexes > Read policy: round robin > Plex root.p0: Size: 146664960 bytes (139 MB) > Subdisks: 1 > State: up > Organization: concat > Part of volume root > > Plex root.p1: Size: 146664960 bytes (139 MB) > Subdisks: 1 > State: up > Organization: concat > Part of volume root > > Subdisk root.p0.s0: > Size: 146664960 bytes (139 MB) > State: up > Plex root.p0 at offset 0 (0 B) > Drive vinumdrive2 (/dev/ad6s1d) at offset 135680 (132 kB) > > Subdisk root.p1.s0: > Size: 146664960 bytes (139 MB) > State: up > Plex root.p1 at offset 0 (0 B) > Drive vinumdrive3 (/dev/ad7s1d) at offset 135680 (132 kB) > > > > # disklabel -e /dev/ad7s1 > > gives; > > # /dev/ad7s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 9216000 14966784 4.2BSD 2048 16384 28552 > b: 20942848 24182784 4.2BSD 2048 16384 28552 > c: 45126522 0 unused 0 0 # "raw" part, don't edit > d: 286720 0 4.2BSD 0 0 0 > e: 4194304 286720 4.2BSD 2048 16384 28552 > f: 4194304 4481024 4.2BSD 2048 16384 28552 > g: 4194304 8675328 4.2BSD 2048 16384 28552 > h: 2097152 12869632 4.2BSD 2048 16384 28552 > > > I am not sure what my disklabel -e /dev/ad7s1 should look like. Replying to my own post. Do I need to change partitions "a:" (currently part of volume tmp) and "d:" (currently part of volume root) Also with this configuration do I need to shrink the size of any of my partitions. (I am unclear as to if I have 8k at the beginning of the drive) I can delete my current d: partition and make it smaller if that is needed. I just don't grok this yet :-( thanks again for any help. Micheas -- Micheas Herman email: micheas@freep.org Free Print Shop web: http://www.FreePrintShop.org phone: (415)648-3222 fax: (415)648-3222