vinum question

Rex Roof rexroof at gmail.com
Thu Apr 14 10:34:53 PDT 2005


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 <lists-freebsd-hackers at biaix.org> wrote:
> * Matt <mhersant at 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
> --
> pica
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>


More information about the freebsd-hackers mailing list