From owner-freebsd-questions Sat Oct 16 17:46:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from begemot.org (negara.cs.waikato.ac.nz [130.217.248.112]) by hub.freebsd.org (Postfix) with ESMTP id 4C7CB153BD for ; Sat, 16 Oct 1999 17:45:57 -0700 (PDT) (envelope-from grog@lemis.com) Received: from mojave.worldwide.lemis.com (modem51.slip.waikato.ac.nz [130.217.97.150]) by begemot.org (8.9.3/8.9.2) with ESMTP id NAA15516; Sun, 17 Oct 1999 13:46:58 +1300 (NZDT) (envelope-from grog@lemis.com) Received: (grog@localhost) by mojave.worldwide.lemis.com (8.9.3/8.6.12) id MAA07386; Sun, 17 Oct 1999 12:33:46 +1300 (NZDT) Message-ID: <19991017123346.46381@mojave.lemis.com> Date: Sun, 17 Oct 1999 12:33:46 +1300 From: Greg Lehey To: Adam Nealis , freebsd-questions Subject: Re: vinum - How long does it take to perform operation X? References: <38075030.7F681CE8@csl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <38075030.7F681CE8@csl.com>; from Adam Nealis on Fri, Oct 15, 1999 at 05:02:56PM +0100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 15 October 1999 at 17:02:56 +0100, Adam Nealis wrote: > 3.3-STABLE (as per a cvsup and update from 14 October). > > Just starting out with vinum, I've read vinum(4) and vinum(8). > > I'm trying to create a mirrored volume of 2 x 9GB drives. > > These drives are /dev/da1s1e and /dev/da2s1e, and are > pristine, newfs'd volumes. You shouldn't be able to newfs a Vinum drive. Vinum requires partitions of type vinum, newfs requires partitions of type 4.2BSD. > I don't mount them on boot either, as I quickly discovered vinum > dumps core if you try to operate on mount devices. If you get any kind of dump from Vinum, I want to know about it. > Looking at vinum(8), in "HOW TO SET UP VINUM" section 2, I > created a config file /etc/vinum.cf containing > > drive d1 device /dev/da2e > drive d2 device /dev/da3e > volume mirror > plex org concat > sd length 10m drive d1 > plex org concat > sd length 10m drive d2 > > The 10m is just to avoid waiting an age to find out what happens. So far, so good. > I do > > bash 2.03# vinum create -v /etc/vinum.cf > 1: drive d1 device /dev/da2e > > Well, after about 30 minutes, I ^C'd this as nothing more > had happened. You can do this as soon as disk activity stops, typically about 10 seconds. > I decided to clear out any cruft with > > bash 2.03# vinum resetconfig > > Enter Text -> NO FUTURE > > and it's been over an hour and the command doesn't seem to have > completed. That should be just about instantaneous. > What's happening? Looks like you have a hang. > I don't understand why this is taking so long. I'm becoming > confused! I haven't seen this before. What does 'ps lawx' say? Output to a file and then attach it. After that, reboot your machine and try the 'vinum create' again. If it hangs, I'd like to see the output of 'ps lawx' at that point. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message