From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 10:25:59 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 62B7D16A4CE for ; Fri, 19 Dec 2003 10:25:59 -0800 (PST) Received: from yoda.anything-inc.com (adsl-068-153-193-052.sip.bct.bellsouth.net [68.153.193.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9057643D31 for ; Fri, 19 Dec 2003 10:25:57 -0800 (PST) (envelope-from "") Received: from /spool/local by anything-inc.com with [XMail 1.17 (FreeBSD/Ix86) LMAIL Server] for from <>; Fri, 19 Dec 2003 13:37:35 -0500 Date: Fri, 19 Dec 2003 13:37:34 -0500 From: Bob Collins To: Marc Smits Message-ID: <20031219183734.GA32038@yoda.anything-inc.com> References: <1071851660.3fe3288c7e0b7@webmail.dds.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1071851660.3fe3288c7e0b7@webmail.dds.nl> User-Agent: Mutt/1.4i Comment: No comment X-Cuse: I have none X-Editor: vi X-Spam-Status: No, hits=-5.0 required=3.5 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-questions@freebsd.org Subject: Re: Vinum error "Can't initialize drive a: Invalid argument" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 18:25:59 -0000 On Fri, Dec 19, 2003, Marc Smits wrote: > Hello, > > I am running FreeBSD-4.7-realease and want to create a striped plex from > 2 new 80Gb disks. > > Here's my vinum-description: > drive a device /dev/ad2s1e > drive b device /dev/ad3s1e > volume stripe0 > plex org striped 256k > sd length 78159m drive a > sd length 78159m drive b > > When I run 'vinum create vinum.conf' The message I get is: > 1: drive a device /dev/ad2s1e > ** 1 Can't initialize drive a: Invalid argument > 2: drive b device /dev/ad3s1e > ** 2 Can't initialize drive b: Invalid argument > 0 drives: > 1 volumes: > V stripe0 State: down Plexes: 1 Size: > 152GB > > 1 plexes: > P stripe0.p0 S State: faulty Subdisks: 2 Size: > 152GB > > 2 subdisks: > S stripe0.p0.s0 State: crashed PO: 0 B Size: > 76GB > S stripe0.p0.s1 State: crashed PO: 256 kB Size: > 76GB > > I used sysinstall to fdisk and label the partitions. > > What do need to do diffrent to get vinum to use the partitions? Did you disklabel the slices to be of type vinum? I had a similar trouble due to the fact I had labeled the disks as BSD4.0 or some such. Once you have the disks labeled, you have to disklabel -d ad2 I think and change the label to `vinum' without the single quotes. Also, do you have a mount point /a and /b ? -- Bob