vinum question
I have a two disk array that I want to move to another machine. It is configured with striping using vinum. What is the best way to set it up under a new machine? Should I simply load the old vinum.conf file and enable vinum? Thanks much for any help. drive disk1 device /dev/ad5s1d drive disk2 device /dev/ad6s1d volume stripe plex org striped 256k sd length 114470m drive disk1 sd length 114470m drive disk2 FreeBSD tmodel 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum question
On Thu, Apr 14, 2005 at 08:50:20AM -0700, Matt wrote: I have a two disk array that I want to move to another machine. It is configured with striping using vinum. What is the best way to set it up under a new machine? Should I simply load the old vinum.conf file and enable vinum? Thanks much for any help. drive disk1 device /dev/ad5s1d drive disk2 device /dev/ad6s1d volume stripe plex org striped 256k sd length 114470m drive disk1 sd length 114470m drive disk2 Vinum should find and use the existing configuration. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum question
Bernd Walter wrote: On Thu, Apr 14, 2005 at 08:50:20AM -0700, Matt wrote: I have a two disk array that I want to move to another machine. It is configured with striping using vinum. What is the best way to set it up under a new machine? Should I simply load the old vinum.conf file and enable vinum? Thanks much for any help. drive disk1 device /dev/ad5s1d drive disk2 device /dev/ad6s1d volume stripe plex org striped 256k sd length 114470m drive disk1 sd length 114470m drive disk2 Vinum should find and use the existing configuration. Well, it hasn't been that easy. The new machine is running 5.3. At boot I receive: panic: umount: dangling vnode / /when vinum loads at boot. I get around this by starting vinum from rc.local. The vinum device node (named stripe in this case) isn't in /dev/vinum. Do I need to create it on the new machine. I placed the old config file in /etc/vinum.conf. Is vinum supposed to create the nodes automatically? Thanks much. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum question
Matt wrote: Bernd Walter wrote: On Thu, Apr 14, 2005 at 08:50:20AM -0700, Matt wrote: I have a two disk array that I want to move to another machine. It is configured with striping using vinum. What is the best way to set it up under a new machine? Should I simply load the old vinum.conf file and enable vinum? Thanks much for any help. drive disk1 device /dev/ad5s1d drive disk2 device /dev/ad6s1d volume stripe plex org striped 256k sd length 114470m drive disk1 sd length 114470m drive disk2 Vinum should find and use the existing configuration. Well, it hasn't been that easy. The new machine is running 5.3. At boot I receive: panic: umount: dangling vnode / /when vinum loads at boot. I get around this by starting vinum from rc.local. The vinum device node (named stripe in this case) isn't in /dev/vinum. Do I need to create it on the new machine. I placed the old config file in /etc/vinum.conf. Is vinum supposed to create the nodes automatically? Thanks much. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED] tmodel# vinum list 2 drives: D disk2 State: up /dev/ad6s1d A: 114470/114470 MB (100%) D disk1 State: up /dev/ad5s1d A: 114470/114470 MB (100%) 0 volumes: 0 plexes: 0 subdisks: Do I need to recreate the volumes? Vinum can't seem to find them. Hmmm. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum question
* Matt [EMAIL PROTECTED] [20050414 18:43]: Bernd Walter wrote: On Thu, Apr 14, 2005 at 08:50:20AM -0700, Matt wrote: I have a two disk array that I want to move to another machine. It is configured with striping using vinum. What is the best way to set it up under a new machine? Should I simply load the old vinum.conf file and enable vinum? Thanks much for any help. drive disk1 device /dev/ad5s1d drive disk2 device /dev/ad6s1d volume stripe plex org striped 256k sd length 114470m drive disk1 sd length 114470m drive disk2 Vinum should find and use the existing configuration. Well, it hasn't been that easy. The new machine is running 5.3. Vinum has been migrated to geom, this should do the trick: sed -ibak -e 's,^vinum_load,geom_vinum_load,' /boot/loader.conf sed -ibak -e 's,/dev/vinum,/dev/gvinum,' /etc/fstab qvb -- pica ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum question
i noticed the documentation hasn't been migrated to gvinum, though. anyone have a config suggestion to stripe two mirrors? I tried this: drive diska device /dev/ad4s1a drive diskb device /dev/ad6s1a drive diskc device /dev/ad8s1a drive diskd device /dev/ad12s1a volume mirrorone plex org concat sd length 238475m drive diska plex org concat sd length 238475m drive diskb volume mirrortwo plex org concat sd length 238475m drive diskc plex org concat sd length 238475m drive diskd volume mstripe plex org striped 512k sd length 238475m drive mirrorone sd length 238475m drive mirrortwo without luck. I also don't seem to be able to find a way to cleanly shut down vinum and remove all configurations. I've been testing various raid configurations on FreeBSD6 and I've been working on scripts to setup and test and take down vinum configurations. I also noticed that I can often crash my machine by doing things like: gvinum rm -r diska On 4/14/05, Joan Picanyol i Puig [EMAIL PROTECTED] wrote: * Matt [EMAIL PROTECTED] [20050414 18:43]: Bernd Walter wrote: On Thu, Apr 14, 2005 at 08:50:20AM -0700, Matt wrote: I have a two disk array that I want to move to another machine. It is configured with striping using vinum. What is the best way to set it up under a new machine? Should I simply load the old vinum.conf file and enable vinum? Thanks much for any help. drive disk1 device /dev/ad5s1d drive disk2 device /dev/ad6s1d volume stripe plex org striped 256k sd length 114470m drive disk1 sd length 114470m drive disk2 Vinum should find and use the existing configuration. Well, it hasn't been that easy. The new machine is running 5.3. Vinum has been migrated to geom, this should do the trick: sed -ibak -e 's,^vinum_load,geom_vinum_load,' /boot/loader.conf sed -ibak -e 's,/dev/vinum,/dev/gvinum,' /etc/fstab qvb -- pica ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum question
* Rex Roof [EMAIL PROTECTED] [20050414 19:34]: i noticed the documentation hasn't been migrated to gvinum, though. anyone have a config suggestion to stripe two mirrors? Short answer: you can't. Longer answer: http://docs.FreeBSD.org/cgi/mid.cgi?423CAE7E.4070009 qvb -- pica ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum question
can I stripe two mirrors with vinum that were created with gmirror? On 4/14/05, Joan Picanyol i Puig [EMAIL PROTECTED] wrote: * Rex Roof [EMAIL PROTECTED] [20050414 19:34]: i noticed the documentation hasn't been migrated to gvinum, though. anyone have a config suggestion to stripe two mirrors? Short answer: you can't. Longer answer: http://docs.FreeBSD.org/cgi/mid.cgi?423CAE7E.4070009 qvb -- pica ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]