From owner-freebsd-questions Tue May 23 18:35:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id C63FA37BBAB for ; Tue, 23 May 2000 18:35:35 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA96371; Wed, 24 May 2000 11:05:21 +0930 (CST) Date: Wed, 24 May 2000 11:05:21 +0930 From: Greg Lehey To: Brad Waite Cc: questions@FreeBSD.ORG Subject: Re: problem newfsing vinum volume Message-ID: <20000524110521.B96290@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 23 May 2000 at 7:51:55 -0600, Brad Waite wrote: > Okay, I finally got my drives installed and partitioned as follows: > > ad0: > a: 7473152 0 4.2BSD 0 0 0 # (Cyl. 0 - 465*) > b: 524288 7473152 swap # (Cyl. 465*- 497*) > c: 80035767 0 unused 0 0 # (Cyl. 0 - 4981*) > e: 72038327 7997440 vinum # (Cyl. 497*- 4981*) > > ad1: > c: 80041248 0 unused 0 0 # (Cyl. 0 - 635247) > e: 80041248 0 vinum # (Cyl. 0 - 635247) > > ad2: > c: 80041248 0 unused 0 0 # (Cyl. 0 - 635247) > e: 80041248 0 vinum # (Cyl. 0 - 635247) > > 4 gigs of ad0 are used for FBSD and swap. The rest of ad0 and all of ad1 & ad2 > are intended for vinum. Since, as I understand it, vinum requires all the > subdisks to be the same size, I split the drives into 3908MB subdisks, 10 sd's > on ad1 & ad2, and 9 on ad0 for a total of 29 subdisks. > > Here's my vinum cfg file: > drive a device /dev/ad0s1e > drive b device /dev/ad1s1e > drive c device /dev/ad2s1e > volume whopper > plex org raid5 512k > sd length 3908m drive a > sd length 3908m drive b > sd length 3908m drive c > [ all 3 lines repeated 8 times ] > sd length 3908m drive b > sd length 3908m drive c > > Now I try to do a newfs: > > # newfs -v /dev/vinum/whopper > newfs: /dev/vinum/whopper: Input/output error > # vinum l whopper > V whopper State: down Plexes: 1 Size: 106 GB > > > Why can't I newfs the volume? Because it's down. It's difficult to know why, since you haven't supplied the information asked for in the man page and http://www.lemis.com/vinum/how-to-debug.html. Greg -- When replying to this message, please copy the original recipients. 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message