gvinum: problem for adding drives
Olivier Cochard
olivier at freenas.org
Sat Mar 11 18:21:56 UTC 2006
Hi all,
Lot's of my users have a problem for creating gvinum volume (raid1).
When they create a volume, they have a 100% for the drives (and not a 0%).
What 's mean this value ?
Personnaly, I can't reproduce the problem with my VMware machine, but here
is their gvinum state:
Software RAID information and status:
2 drives:
D disk_ad3 State: up /dev/ad3s1a A: 194479/194479 MB (100%)
D disk_ad2 State: up /dev/ad2s1a A: 194479/194479 MB (100%)
1 volume:
V raid State: down Plexes: 2 Size: 0 B
2 plexes:
P raid.p1 C State: down Subdisks: 0 Size: 0 B
P raid.p0 C State: down Subdisks: 0 Size: 0 B
0 subdisks:
=> No subdisks!
And here is the commands used (example for 1 disk):
/bin/dd if=/dev/zero of=/dev/ad2 bs=1k count=20
/sbin/fdisk -I -b /boot/mbr ad2
/bin/dd if=/dev/zero of=/dev/ad2s1 bs=32k count=16
/sbin/bsdlabel -w ad2s1 auto
the raid.conf file:
drive disk_ad2 device /dev/ad2s1a
drive disk_ad3 device /dev/ad3s1a
volume V
plex org concat
sd length 194479M drive disk_ad2
sd length 194479M drive disk_ad3
Regards,
Olivier
More information about the freebsd-geom
mailing list