vinum question

Joan Picanyol i Puig lists-freebsd-hackers at biaix.org
Thu Apr 14 10:28:37 PDT 2005


* 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


More information about the freebsd-hackers mailing list