From owner-freebsd-hackers Tue Oct 30 8:24:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from backmaster.cdsnet.net (backmaster.cdsnet.net [63.163.68.2]) by hub.freebsd.org (Postfix) with SMTP id 35F5037B401 for ; Tue, 30 Oct 2001 08:24:47 -0800 (PST) Received: (qmail 82920 invoked by uid 29999); 30 Oct 2001 16:26:14 -0000 Date: Tue, 30 Oct 2001 08:26:14 -0800 From: Jaye Mathisen To: hackers@freebsd.org Subject: Vinum problem with JBOD on a 3ware? Message-ID: <20011030082614.A43871@backmaster.cdsnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.20i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I be stumped: newsfeed-inn# uname -a FreeBSD newsfeed-inn.meganews.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Mon Oct 29 15:08:57 PST 2001 root@newsfeed-inn.meganews.com:/n/FreeBSD/RELENG_4-2001-10-29/src/sys/compile/NEWSFEED-INN i386 Diskcontroller is a 3ware 7800, with 4 maxtor 20GB IDE's on it, which have all been scanned 1x with the maxblast software for a quick verification. newsfeed-inn# disklabel -r twed0 # /dev/twed0c: type: ESDI disk: twed0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 2490 sectors/unit: 40017852 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 40017852 0 unused 0 0 # (Cyl. 0 - 2490*) d: 40016828 1024 vinum # (Cyl. 0*- 2490*) newsfeed-inn# cat /root/vinum.config drive d1 device /dev/twed0d newsfeed-inn# vinum vinum -> create -f /root/vinum.config 1: drive d1 device /dev/twed0d ** 1 Can't initialize drive d1: Operation not supported by device 0 drives: 0 volumes: 0 plexes: 0 subdisks: vinum -> quit It gets weirder: newsfeed-inn# newfs -v /dev/twed0d newfs: /dev/twed0d: `d' partition is unavailable newsfeed-inn# newfs -v /dev/twed0c newfs: /dev/twed0c: `c' partition is unavailable newsfeed-inn# newfs /dev/twed0c Warning: Block size and bytes per inode restrict cylinders per group to 22. Warning: 68 sector(s) in last cylinder unallocated /dev/twed0c: 40017852 sectors in 9770 cylinders of 1 tracks, 4096 sectors 19540.0MB in 445 cyl groups (22 c/g, 44.00MB/g, 10944 i/g) super-block backups (for fsck -b #) at: 32, 90144, 180256, 270368, 360480, 450592, 540704,^C newsfeed-inn# newfs /dev/twed0d Warning: Block size and bytes per inode restrict cylinders per group to 22. Warning: 1092 sector(s) in last cylinder unallocated /dev/twed0d: 40016828 sectors in 9770 cylinders of 1 tracks, 4096 sectors 19539.5MB in 445 cyl groups (22 c/g, 44.00MB/g, 10944 i/g) super-block backups (for fsck -b #) at: 32, 90144, 180256, 270368, 360480, 450592, 540704,^C (A little surprised that newfs will newfs a non 4.2BSD/UFS labeled volume, but oh well). So I can newfs it, but I can't vinum it. I've tried zeroing out the label, and using sysinstall to put on the disklabel's, and using just disklabel -w -r auto. Can't get it to work. Note that if I uncomment d1-d4, they all fail in the same way. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message