Date: Tue, 30 Oct 2001 08:26:14 -0800 From: Jaye Mathisen <mrcpu@internetcds.com> To: hackers@freebsd.org Subject: Vinum problem with JBOD on a 3ware? Message-ID: <20011030082614.A43871@backmaster.cdsnet.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011030082614.A43871>
