Date: Fri, 13 Feb 2004 10:43:45 -0500 (EST) From: "Vincent Rioux" <vrioux@centrenad.com> To: freebsd-current@freebsd.org Subject: Vinum dumpconfig returns nothing ?!? Message-ID: <3109.192.168.1.147.1076687025.squirrel@internet.centrenad.com>
next in thread | raw e-mail | index | archive | help
Hello, I am trying to setup a software raid5 volume using Vinum on FreeBSD 5.2. So far I did successfully complete these tasks : - Created the config file : drive d0 device /dev/ad10 drive d1 device /dev/ad11 drive d2 device /dev/ad4 drive d3 device /dev/ad6 drive d4 device /dev/ad8 drive d5 device /dev/ad9 volume terabyte plex org raid5 433k sd length 0 drive d0 sd length 0 drive d1 sd length 0 drive d2 sd length 0 drive d3 sd length 0 drive d4 sd length 0 drive d5 - Created the volume in Vinum and initialized it (whoa it took a long time!) : vinum -> list 6 drives: D d0 State: up /dev/ad10 A: 0/194481 MB (0%) D d1 State: up /dev/ad11 A: 0/194481 MB (0%) D d2 State: up /dev/ad4 A: 0/194481 MB (0%) D d3 State: up /dev/ad6 A: 0/194481 MB (0%) D d4 State: up /dev/ad8 A: 0/194481 MB (0%) D d5 State: up /dev/ad9 A: 0/194481 MB (0%) 1 volumes: V terabyte State: up Plexes: 1 Size: 949 GB 1 plexes: P terabyte.p0 R5 State: up Subdisks: 6 Size: 949 GB 6 subdisks: S terabyte.p0.s0 State: up D: d0 Size: 189 GB S terabyte.p0.s1 State: up D: d1 Size: 189 GB S terabyte.p0.s2 State: up D: d2 Size: 189 GB S terabyte.p0.s3 State: up D: d3 Size: 189 GB S terabyte.p0.s4 State: up D: d4 Size: 189 GB S terabyte.p0.s5 State: up D: d5 Size: 189 GB Now the problem is that everytime I reboot the machine to test if the volume automounts correctly (yes, start_vinum="YES" is in rc.conf), all the configuration is lost and I must recreate and reinitialize the volume (effectively losing all my data)... Now what's weird, just after setting everything up and finishing initializing the volume, I just can't seem to be able to dump the config from the disks! Even if I do a saveconfig (which I shouldn't have to do since config. updates are not disabled), there's nothing returned from dumpconfig! : vinum -> saveconfig vinum -> dumpconfig vinum -> I had the exact same problem with FreeBSD-5.1 ... I tought Vinum might be broken and since the machine is a fresh install, I decided to reinstall from 5.2... Same problem! :( Any ideas ? Vincent
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3109.192.168.1.147.1076687025.squirrel>