Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 12:01:05 +0300
From:      Artem Kazakov <a.kazakov@comptek.ru>
To:        Tom Przybylinski <thenothingboy@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Putting /usr on a vinum striped volume?
Message-ID:  <41932A51.2090605@comptek.ru>
In-Reply-To: <20041111061111.61992.qmail@web41128.mail.yahoo.com>
References:  <20041111061111.61992.qmail@web41128.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41932A51.2090605>