Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 1999 16:35:45 -0700
From:      Ludwig Pummer <ludwigp@toy.chip-web.com>
To:        tarkhil@asteroid.svib.ru, stable@freebsd.org
Subject:   Re: Vinmu howto
Message-ID:  <4.1.19990427161840.00bd0560@mail-r>
In-Reply-To: <199904270454.IAA42948@shuttle.svib.ru>

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




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