Hi, Has anyone gotten vinum to work using the 5.0RC2 ISO distribution? I've tried creating a raid5, a "raid10", and (finally) a basic, one-drive volume, and newfs fails for all cases, with:
# newfs -U /dev/vinum/myvol newfs: /dev/vinum/myvol: can't figure out file system partition I've attached a typescript file (w/added comments) illustrating the problem for the basic, one-drive case. Is vinum broken in 5.0RC2, or am I doing something spectacularly stupid? -- Darryl Okahata [EMAIL PROTECTED] DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day.
Script started on Wed Jan 8 09:49:51 2003 # # "resetdrive" annihilates the beginning of a disk, and reinitializes it # for use with vinum, using fdisk/disklabel. # bash-2.05b# ./resetdrive ad4 2048+0 records in 2048+0 records out 1048576 bytes transferred in 0.320496 secs (3271728 bytes/sec) ******* Working on device /dev/ad4 ******* fdisk: invalid fdisk partition table found 2048+0 records in 2048+0 records out 1048576 bytes transferred in 0.319751 secs (3279351 bytes/sec) bash-2.05b# fdisk ad4 ******* Working on device /dev/ad4 ******* parameters extracted from in-core disklabel are: cylinders=158816 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=158816 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 160086465 (78167 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 95/ head 15/ sector 63 The data for partition 2 is: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED> bash-2.05b# disklabel ad4s1 # /dev/ad4s1c: type: unknown disk: amnesiac label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 158815 sectors/unit: 160086465 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: 160086465 0 unused 0 0 # (Cyl. 0 - 158815*) h: 160086465 0 vinum # (Cyl. 0 - 158815*) bash-2.05b# cat /tmp/vinum.cfg drive d1 device /dev/ad4s1h volume myvol plex org concat sd length 160086000s drive d1 bash-2.05b# vinum vinum -> create /tmp/vinum3.cfg 1 drives: D d1 State: up /dev/ad4s1h A: 0/78167 MB (0%) 1 volumes: V myvol State: up Plexes: 1 Size: 76 GB 1 plexes: P myvol.p0 C State: up Subdisks: 1 Size: 76 GB 1 subdisks: S myvol.p0.s0 State: up D: d1 Size: 76 GB vinum -> l -V 1 drives: Drive d1: Device /dev/ad4s1h Created on baal.soco.agilent.com at Wed Jan 8 09:50:50 2003 Config last updated Wed Jan 8 09:50:50 2003 Size: 81964270080 bytes (78167 MB) Used: 81964167680 bytes (78167 MB) Available: 102400 bytes (0 MB) State: up Last error: none Active requests: 0 Maximum active: 0 Free list contains 1 entries: Offset Size 160086265 200 1 volumes: Volume myvol: Size: 81964032000 bytes (78166 MB) State: up Flags: 1 plexes Read policy: round robin Plex 0: myvol.p0 (concat), 76 GB 1 plexes: Plex myvol.p0: Size: 81964032000 bytes (78166 MB) Subdisks: 1 State: up Organization: concat Part of volume myvol Subdisk 0: myvol.p0.s0 state: up size 81964032000 (78166 MB) offset 0 (0x0) 1 subdisks: Subdisk myvol.p0.s0: Size: 81964032000 bytes (78166 MB) State: up Plex myvol.p0 at offset 0 (0 B) Drive d1 (/dev/ad4s1h) at offset 135680 (132 kB) vinum -> quit bash-2.05b# newfs -U /dev/vinum/myvol newfs: /dev/vinum/myvol: can't figure out file system partition bash-2.05b# exit Script done on Wed Jan 8 09:51:09 2003