From owner-freebsd-questions@FreeBSD.ORG Sun Dec 28 23:58:37 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 715B216A4CE for ; Sun, 28 Dec 2003 23:58:37 -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 746AD43D62 for ; Sun, 28 Dec 2003 23:58:33 -0800 (PST) (envelope-from micheas@micheas.dyns.net) Received: (qmail 91782 invoked from network); 29 Dec 2003 07:58:33 -0000 Received: from tux.a (HELO tux) (mail@10.0.0.173) by sol.a with SMTP; 29 Dec 2003 07:58:33 -0000 Received: from micheas by tux with local (Exim 3.36 #1 (Debian)) id 1AasIL-0000eR-00; Sun, 28 Dec 2003 23:58:33 -0800 From: Micheas Herman To: Greg 'groggy' Lehey In-Reply-To: <1072681819.1411.65.camel@tux> References: <1072672057.1411.22.camel@tux> <20031229062145.GB10758@wantadilla.lemis.com> <1072681819.1411.65.camel@tux> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Free Print Shop Message-Id: <1072684712.1411.97.camel@tux> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 28 Dec 2003 23:58:33 -0800 Sender: Micheas Herman cc: freebsd-questions@freebsd.org 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 07:58:37 -0000 On Sun, 2003-12-28 at 23:10, Micheas Herman wrote: > On Sun, 2003-12-28 at 22:21, Greg 'groggy' Lehey wrote: > > On Sunday, 28 December 2003 at 20:27:37 -0800, Micheas Herman wrote: > > > Hi, > > > > > > I am following "13.9.2 Making a Vinum-based Root Volume Accessible to > > > the Bootstrap" from the FreeBSD Handbook. > > > > > > (/dev/vinum/root is mounted at /newroot ) > > > > > > ... > > > 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 > > > > That's wrong. It should be of type Vinum. It also looks very short. > Could this be correct for ad6s1 and ad7s1? they are about 20G each a: 9216000 14966784 vinum 2048 16384 28552 b: 20942848 24182784 vinum 2048 16384 28552 c: 45126522 0 unused 0 0 # "raw" part, don't edit d: 286439 281 vinum 0 0 0 ^^^^^^ ^^^ <-changes e: 4194304 286720 vinum 2048 16384 28552 f: 4194304 4481024 vinum 2048 16384 28552 g: 4194304 8675328 vinum 2048 16384 28552 h: 2097152 12869632 vinum 2048 16384 28552 # df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad2s1a 135M 54M 70M 43% / devfs 1.0K 1.0K 0B 100% /dev /dev/vinum/home 90G 12K 83G 0% /home /dev/vinum/tmp 4.3G 3.4M 3.9G 0% /tmp /dev/vinum/usr 1.9G 954M 866M 52% /usr /dev/vinum/usrports 1.9G 516M 1.3G 28% /usr/ports /dev/vinum/usrlocal 1.9G 71M 1.7G 4% /usr/local /dev/vinum/var 9.7G 1.0M 8.9G 0% /var /dev/vinum/root 135M 54M 70M 44% /newroot The only downside that i see from reading "The Vinum Volume Manager" is that startup and shutdown will take longer, but I don't see that being much more than a once a month activity at the most. 1-200 days will be a much more frequent time between booting for this system. > It's 138M of a 120G hard drive, which is probably about 60M > more than I'll use. (assuming that I don't put more in root than > I did with FreeBSD 4.x) > > > > > > 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 > > > > -- Micheas Herman email: micheas@freep.org Free Print Shop web: http://www.FreePrintShop.org phone: (415)648-3222 fax: (415)648-3222