From owner-freebsd-stable Tue Apr 27 16:35:42 1999 Delivered-To: freebsd-stable@freebsd.org Received: from inet.chip-web.com (c1003518-a.plstn1.sfba.home.com [24.1.82.47]) by hub.freebsd.org (Postfix) with SMTP id C68C7156B3 for ; Tue, 27 Apr 1999 16:35:40 -0700 (PDT) (envelope-from ludwigp@toy.chip-web.com) Received: (qmail 12217 invoked from network); 27 Apr 1999 23:35:39 -0000 Received: from speedy.chip-web.com (HELO speedy) (172.16.1.1) by inet.chip-web.com with SMTP; 27 Apr 1999 23:35:39 -0000 Message-Id: <4.1.19990427161840.00bd0560@mail-r> X-Sender: ludwigp@toy.chip-web.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Tue, 27 Apr 1999 16:35:45 -0700 To: tarkhil@asteroid.svib.ru, stable@freebsd.org From: Ludwig Pummer Subject: Re: Vinmu howto In-Reply-To: <199904270454.IAA42948@shuttle.svib.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 09:54 PM 4/26/99 , Alex Povolotsky wrote: >Hello! > >I am trying to set up Vinum partitions for mirroring, converting existing UFS >one (I have second disk, which is now spare). Can spme kind soul point me to >HOWTO on it? I asked Greg Lehey about this a few months ago, first giving some rough ideas I had about setting it up (but I was starting the system with vinum, not setting it up later). This is what he replied with, modified for your situation: (You will, of course, need to change device names and the volume names in the config. I also recommend downloading the latest vinum from ftp.nanyang-computer.com/pub/vinum or ftp.lemis.com/pub/vinum) 1. Create the second halves of the vinum volum on the second disk: drive drive2 device /dev/da1s1h volume usr plex org concat sd length 2952m drive drive2 2. newfs them and copy /usr to volume usr. (the best way, i've found, is to mount the new usr to /usr2 and then 'tar -c -C /usr -f - . | tar -xvp -C /usr2 -f -') 3. Change your /etc/fstab to mount /usr from /dev/vinum/usr. 4. Reboot. You should now come up with /usr on /dev/vinum/usr. 5. Change the partition type of /dev/da0s0h to ``vinum''. (if it doesn't allow 'vinum' use 'unused' instead) 6. Add a plex to /dev/vinum/usr: plex org concat volume usr sd length 2952m drive drive2 7. Start the subdisks of the new plexes: vinum start usr.p1.s0 Before you start the process, I strongly recommend that you thoroughly read through the manpages that the vinum tarball gives you. --Ludwig Pummer ( ludwigp@bigfoot.com ) ICQ UIN: 692441 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message