Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2001 09:38:22 +1000
From:      Rob Secombe <robseco@teksupport.net.au>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: vinum
Message-ID:  <3.0.5.32.20010421093822.037ff520@secombe>
In-Reply-To: <3AE05058.28191.14F5EC5@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

You can't use vinum to mirror the root filesystem. You will need a hardware
solution to do that.

What I have done in the past is to manually edit the disklabel on the
second drive so that is identical to the first (assuming the drives are the
same, mind you they dont' have to be) and install a bootstrap on it. You
can make whichever of the filesystems you want type vinum except the root
filesystem. As normally, the contents "/" does not change all that often, I
then set up a script in /etc/periodic to copy one to the other.

This works best with scsi drives as they are assigned as they discovered at
boot time and you don't have to mess around with /etc/fstab and swapping
drives if the first drive fails, just disconnect it and the system will
boot from the second drive (which is now becomes the first).

Hey, it works.

Rob.



At 15:06 20/04/01 +0200, danny@i-p-d.nl wrote:
>I have been trying to setup vinum to mirror my first harddisk on a 
>second identical harddisk. I get the feeling that it is not possible to 
>mirror the first disk, as it is my FreeBSD bootdisk. Is that right?
>
>I want to have a working FreeBSD-machine with a second 
>harddisk, that is working as an exact copy of the first disk, so if my 
>first drive fails, the second disk takes over, or at least has a most 
>recent copy. Will that work with vinum, or isn't that possible?
>
>A reinstall is no problem, this is just a test case for now.
>
>
>Met vriendelijke groeten,
>
>Danny Zwegers
>Unix SysAdmin (Spec:Domains)
>IPD Hosting & Design BV
>
>------------------- WWW Hosting ---------------------
>http://www.i-p-d.nl           Tel: 0165-571675
>http://www.ipdhosting.com     Fax: 0165-571710
>http://www.domeinhosting.com  Email: danny@i-p-d.nl
>http://www.secure.nl          
>-------------------  WWW Design ---------------------
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-isp" in the body of the message
>
>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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