From owner-freebsd-scsi Mon Sep 11 16:20: 3 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id B2F2537B422 for ; Mon, 11 Sep 2000 16:19:55 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e8BNJhl77832; Tue, 12 Sep 2000 08:49:43 +0930 (CST) (envelope-from grog) Date: Tue, 12 Sep 2000 08:49:43 +0930 From: Greg Lehey To: Geoff Buckingham Cc: scsi@FreeBSD.ORG Subject: Re: VInum creation problem Message-ID: <20000912084942.J19431@wantadilla.lemis.com> References: <20000911190423.A32285@chuggalug.clues.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000911190423.A32285@chuggalug.clues.com>; from geoffb@chuggalug.clues.com on Mon, Sep 11, 2000 at 07:04:23PM +0100 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-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Monday, 11 September 2000 at 19:04:23 +0100, Geoff Buckingham wrote: > > I have been trying to set up a vinum volume both manually and with the > following config file. Within vinum I 'create /etc/vinum.conf' and the machine > panics. I would need to see a dump. > drive drive1 device /dev/da1e > > sd length 8683m drive drive16 > sd length 8683m drive drive4 > > trying to configure similar volumes from the vinum prompt produces errors as > follows: > > vinum -> mirror -v -n raid10 -s /dev/da7e /dev/da8e /dev/da9e /dev/da10e > drive vinumdrive0 device /dev/da7e > drive vinumdrive1 device /dev/da8e > drive vinumdrive2 device /dev/da9e > drive vinumdrive3 device /dev/da10e > Can't create drive vinumdrive3, device /dev/da10e: Invalid argument (22) Hmm. > The partitions that throw up errors remain consistant, though this does not > cause a panic as create does (this way uses 256k stripes which I do not believe > is the problem) No, it wouldn't be the stripe size. > There seems no obvious diference in disk label from those that work and those > that don't: > > f2trailerpark01# disklabel da10 > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 17783249 0 unused 0 0 # (Cyl. 0 - 1106*) > e: 17783249 0 vinum > > f2trailerpark01# disklabel da9 > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 17783249 0 unused 0 0 # (Cyl. 0 - 1106*) > e: 17783249 0 vinum # (Cyl. 0 - 1106*) > > f2trailerpark01# uname -a > FreeBSD f2trailerpark01.films.redbus.co.uk 4.1-STABLE FreeBSD 4.1-STABLE #0: Mon Sep 11 15:39:59 BST 2000 root@f2trailerpark01.films.redbus.co.uk:/usr/obj/usr/src/sys/GENERIC i386 > > nore in dmesg output: > > da9 at ahc2 bus 0 target 4 lun 0 > da9: Fixed Direct Access SCSI-3 device > da9: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled > da9: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) > da10 at ahc2 bus 0 target 5 lun 0 > da10: Fixed Direct Access SCSI-3 device > da10: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled > da10: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) > > NB these drives are on two busses before anyone gets worried about numbers :-) Yes, that's clear from the dmesg. > The machine has a full set of da* devices. > > Any Ideas? The best I can think of here would be a parse error, but I've seen other people go up to 32 drives (after which there *is* a problem). I've had up to about 12 devices on my test box, but they weren't all SCSI. A couple of questions: 1. Does the command-line error always start with da10? 2. Can you get a dump? Take a look at http://www.vinumvm.org/how-to-debug.html and send me in the info I need, and I'll look at it right away. 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-scsi" in the body of the message