atom feed8 messages in org.freebsd.freebsd-hackersvinum question
FromSent OnAttachments
MattApr 14, 2005 8:49 am 
Bernd WalterApr 14, 2005 9:11 am 
MattApr 14, 2005 9:43 am 
MattApr 14, 2005 10:16 am 
Joan Picanyol i PuigApr 14, 2005 10:28 am 
Rex RoofApr 14, 2005 10:34 am 
Joan Picanyol i PuigApr 14, 2005 10:45 am 
Rex RoofApr 14, 2005 10:53 am 
Subject:vinum question
From:Rex Roof (rexr@gmail.com)
Date:Apr 14, 2005 10:34:34 am
List:org.freebsd.freebsd-hackers

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 <list@biaix.org> wrote:

* Matt <mher@comcast.net> [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