From owner-freebsd-isp Fri Apr 20 16:38:36 2001 Delivered-To: freebsd-isp@freebsd.org Received: from moat.teksupport.net.au (moat.teksupport.net.au [203.17.1.98]) by hub.freebsd.org (Postfix) with ESMTP id 4BF4037B424 for ; Fri, 20 Apr 2001 16:38:31 -0700 (PDT) (envelope-from robseco@teksupport.net.au) Received: from magician.teksupport.net.au (robseco.secombe [192.168.1.2]) by moat.teksupport.net.au (8.11.0/8.11.0) with SMTP id f3KNkVV48900 for ; Sat, 21 Apr 2001 09:46:32 +1000 (EST) (envelope-from robseco@teksupport.net.au) Message-Id: <3.0.5.32.20010421093822.037ff520@secombe> X-Sender: robseco@secombe X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Sat, 21 Apr 2001 09:38:22 +1000 To: freebsd-isp@FreeBSD.ORG From: Rob Secombe Subject: Re: vinum In-Reply-To: <3AE05058.28191.14F5EC5@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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