rami.info



Vinum Volume Under FreeBSD

Posted in AtWherever by Rami on the February 20th, 2005

Setting up vinum:
Have the disks "dangerously" dedicated.
disklabel -r -w da1 auto
disklabel -r -w da2 auto
disklabel -e da1 # change unused to vinum
disklabel -e da2 # change unused to vinum
vim /etc/vinum.conf # add the following
drive d1 device /dev/da1e
drive d2 device /dev/da2e
volume disk
plex org concat
sd length 0 drive d1
sd length 0 drive d2
vinum create -v /etc/vinum.conf
newfs -v /dev/vinum/disk # remove -v for FreeBSD 5.0
vim /etc/rc.conf # add the following
start_vinum="YES"
vim /etc/fstab # add the following
/dev/vinum/disk /disk ufs rw 2 2

Leave a Reply