From owner-freebsd-questions Fri Feb 2 23:58: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ultimanet.com (relay.ultimanet.com [205.179.129.1]) by hub.freebsd.org (Postfix) with ESMTP id 2A4CC37B401 for ; Fri, 2 Feb 2001 23:57:48 -0800 (PST) Received: from Cloudfactory.ORG (cloudfactory.org [205.179.129.18]) by relay.ultimanet.com (8.9.3/8.9.3) with ESMTP id AAA12374; Sat, 3 Feb 2001 00:42:29 -0800 Message-Id: <200102030842.AAA12374@relay.ultimanet.com> To: Greg Lehey Cc: Tony Landells , freebsd-questions@FreeBSD.ORG Subject: Re: installing onto vinum In-Reply-To: Message from Greg Lehey of "Fri, 02 Feb 2001 19:57:11 +1030." <20010202195711.L82163@wantadilla.lemis.com> Date: Fri, 02 Feb 2001 23:57:36 -0800 From: Randy Primeaux Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg, Tony, Thank you for the technical assistance, and smoothing the bumps in my learning curve. I spend most of my day dealing with wan networking, so learning vinum and RAID configuration is a significant change of pace. I got the final part operational, after this nudge from Greg. I added the "drive root" association to each subdisk entry using ed(1), [and setting vinum_start="YES" in rc.conf] and of course upon reboot vinum came up fine. Oh, I still have a copy of "The Complete FreeBSD", from 1996/07/19, though I contributed the 2.2.x CD's to a mentor long ago. I thought it had outlived it's usefullness, but it has a longer shelf-life than I expected. Anyway, I have not yet set up the mirror, but I think the rest will go fine. I will admit that part of the reason I was having difficulties is I had not read all of the man pages involved, and as well, I read vinum(8) before vinum(4), which presented some difficulty, not having certain terms defined. "Drive" is a good example of this, with its' very specific definition. At this point I have a 4-STABLE system running vinum, but I'll probably tear down and rebuild fresh, and bring up the mirror when done. Thanks again, to both of you, for very educational technical discussion and guidance. Greg Lehey writes: > On Friday, 2 February 2001 at 0:23:59 -0800, Randy Primeaux wrote: > > Greg, Tony, > > > > I got the following upon reconfiguration and reboot: > > > > Can't open /dev/vinum/var: Device not configured > > /dev/vinum/var: CAN"T CHECK FILESYSTEM > > /dev/vinum/var: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY > > Looks like you haven't configured it yet. > > > When I boot -s, then operate vinum: > > vinum resetconfig > > Why do you do this? I wanted to ensure my config was "clean", and was not sure how else to do so. > > # vinum create -f /vinum.cfg > > vinum: loaded > > vinum: drive root is up > > vinum: var.p0 is up > > vinum: var is up > > 6: sd length 524288s driveoffset 265s > > ** 6 Subdisk is not associated with a drive: Invalid argument > > So which drive do you want it on? > > Greg > -- > When replying to this message, please copy the original recipients. > If you don't, I may ignore the reply. > For more information, see http://www.lemis.com/questions.html > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers -- Randy Primeaux randy@cloudfactory.org tranze@hyperreal.org FreeBSD - the power to serve! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message