From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 09:01:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA1DF16A4CE for ; Thu, 11 Nov 2004 09:01:59 +0000 (GMT) Received: from ns.comptek.ru (ns.comptek.ru [213.180.193.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3ADC43D58 for ; Thu, 11 Nov 2004 09:01:58 +0000 (GMT) (envelope-from a.kazakov@comptek.ru) Received: from m4.comptek.ru (m4.comptek.ru [213.180.196.7]) by ns.comptek.ru (8.12.10/8.12.10) with ESMTP id iAB91ZtB026724; Thu, 11 Nov 2004 12:01:38 +0300 (MSK) (envelope-from a.kazakov@comptek.ru) Received: from [127.0.0.1] (akazakov.comptek.ru [213.180.196.38]) by m4.comptek.ru (8.12.11/8.12.11) with ESMTP id iAB91ZSO080005; Thu, 11 Nov 2004 12:01:35 +0300 (MSK) (envelope-from a.kazakov@comptek.ru) X-AntiVirus: Checked by Dr.Web [version: 4.32b, engine: 4.32b, virus records: 58818, updated: 10.11.2004] Message-ID: <41932A51.2090605@comptek.ru> Date: Thu, 11 Nov 2004 12:01:05 +0300 From: Artem Kazakov User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Przybylinski References: <20041111061111.61992.qmail@web41128.mail.yahoo.com> In-Reply-To: <20041111061111.61992.qmail@web41128.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Ystatus: hits=-60.2 X_ANTIVIRUS SUBJ_RE ALLTRUSTEDIP QUOTED_EMAIL_TEXT EMAIL_ATTRIBUTION SINGLE_POINT NEWBAYES_099 CWORDS_100 OUR_MESSAGEID REPLY_WITH_QUOTES ORIGINAL_WITH_QUOTES LINK_IN_TEXT X-Corp-Mail: NO X-Spam-Yversion: 1.0.8-Stack512K cc: freebsd-questions@freebsd.org Subject: Re: Putting /usr on a vinum striped volume? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 09:01:59 -0000 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