Putting /usr on a vinum striped volume?
Artem Kazakov
a.kazakov at comptek.ru
Thu Nov 11 01:01:59 PST 2004
Tom Przybylinski wrote:
> Salutations list,
>
> Would someone be so kind as to point me at a HOWTO
> where I can RTFM on moving my /usr to a freshly
> vinum'd stripey vol?
It's pretty easy.
First, you have to create vinum volume, for example you name it "stripe"
(read vinum docs to find out how to do this)
Now it resides at /dev/vinum/stripe
Then, you should do newfs /dev/vinum/stripe and mount it somewhere like
/mnt/new_usr
now either dump /usr or tar it and then restore or untar consequently.
If you choose tar do the following:
tar -C /usr -cpf - . | tar -C /mnt/new_usr -xpvf -
To use dump you need some additional disk space to store dump-file.
So I think "tar-variant" is preffered.
Now you are ready to edit your /etc/fstab.
And do not forget to load vinum during start-up to make
/dev/vinum/stripe visible for your system.
--
Kazakov Artem
OOO "CompTek"
tel: +7(095) 785-2525, ext.1802
fax: +7(095) 785-2526
WWW: http://www.comptek.ru
More information about the freebsd-questions
mailing list