From owner-freebsd-questions Mon Aug 9 16:26:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id A71FD1533C for ; Mon, 9 Aug 1999 16:24:09 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id IAA03475; Tue, 10 Aug 1999 08:51:19 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id IAA40922; Tue, 10 Aug 1999 08:50:53 +0930 (CST) Date: Tue, 10 Aug 1999 08:50:52 +0930 From: Greg Lehey To: Dan Langille Cc: freebsd-questions@FreeBSD.ORG Subject: Re: newfs on vinum device fails Message-ID: <19990810085052.M31076@freebie.lemis.com> References: <199908090659.SAA14532@ducky.nz.freebsd.org> <199908090745.TAA14650@ducky.nz.freebsd.org> <199908090659.SAA14532@ducky.nz.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199908090659.SAA14532@ducky.nz.freebsd.org>; from Dan Langille on Mon, Aug 09, 1999 at 06:59:11PM +1200 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 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 [Format recovered--see http://www.lemis.com/email/email-format.html] On Monday, 9 August 1999 at 18:59:11 +1200, Dan Langille wrote: > Hi! > > I'm going vinum under 3.2-release. But I can't newfs the device. > > # newfs -v /dev/vinum/test > newfs: /dev/vinum/test: Input/output error > > # vinum list > Configuration summary > > Drives: 2 (4 configured) > Volumes: 1 (4 configured) > Plexes: 1 (8 configured) > Subdisks: 2 (16 configured) > > D d1 State: up Device /dev/da1e Avail: 0/1001 MB (0%) > D d2 State: up Device /dev/da2e Avail: 0/1005 MB (0%) > > V test State: down Plexes: 1 Size: 2006 MB If your volume is down, you can't access it. 'list -v' will give you more information. > P test.p0 S State: down Subdisks: 2 Size: 2006 MB > > S test.p0.s0 State: empty PO: 0 B Size: 1001 MB > S test.p0.s1 State: empty PO: 256 kB Size: 1005 MB On Monday, 9 August 1999 at 19:45:44 +1200, Dan Langille wrote: > On 9 Aug 99, at 18:59, Dan Langille wrote: > >> I'm going vinum under 3.2-release. But I can't newfs the device. >> >> # newfs -v /dev/vinum/test >> newfs: /dev/vinum/test: Input/output error > > Problem solved. I changed from: > plex org striped 256k > sd length 1001m drive d1 > sd length 1005m drive d2 > to > plex org striped 256k > sd length 1001m drive d1 > sd length 1001m drive d2 If you want to use all the drive, and the disks are all the same size, you can use 'length 0' for the subdisks. > With striping, I guess there is no way to use all of both disks. > But it makes sense. With Vinum, there is no way to use all of the disks. It stores configuration information in the first 265 sectors. This is described in the man page. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message