From owner-freebsd-questions Mon Mar 11 8:59:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blues.hodgsonhouse.com (blues.hodgsonhouse.com [24.72.10.211]) by hub.freebsd.org (Postfix) with ESMTP id 74A0737B400 for ; Mon, 11 Mar 2002 08:59:47 -0800 (PST) Received: by blues.hodgsonhouse.com (Postfix, from userid 500) id 485B47F5D0; Mon, 11 Mar 2002 10:58:08 -0600 (CST) Date: Mon, 11 Mar 2002 10:58:08 -0600 From: Tillman Hodgson To: Jason Borkowsky Cc: questions@freebsd.org Subject: Re: Using VINUM to do RAID-1 disk mirroring Message-ID: <20020311105807.B7625@hodgsonhouse.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jcborkow@tcpns.com on Mon, Mar 11, 2002 at 11:37:41AM -0500 X-Editor: Vim Rocks! http://www.vim.org X-Mailer: Mutt Rocks! http://www.mutt.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 11, 2002 at 11:37:41AM -0500, Jason Borkowsky wrote: > I have two FreeBSD machines, both containing a pair of identical hard > drives. I am looking to set up vinum to mirror the hard drives, and am not > having any success. I have searched the FreeBSD archives, the vinum website, > and other websites as well. > > Here is what I've found so far: > > Each drive needs to have the file system type changed from FreeBSD to vinum. > I have done this no problem. (A side question I have about this is will this > affect me if I reboot the machine or am an single user mode? What effects > does changing the file system type have?) > > So now I have two drives, /dev/ad0s1 and /dev/ad2s1 (IDE devices). FreeBSD > calls partition "c:" the complete drive, so on one drive (the drive I want > mirrored), I have all my file partitions. On the drive I want to mirror to, > I only have one partition, c:, which is the whole drive. Before I mirror, do > I need to set up identical partitions? According to the man pages, it seems > I don't have to. > > Now, in the man pages, under "Simplified Configuration", it states that to > mirror a drive, all I need to do is: > > vinum -> mirror -v /dev/ad0s1c /dev/ad2s1c Try: http://www.matts.org/vinum.shtml Keep in mind tha with vinum the mirror command doesn't specify Unix devices (i.e. /dev/ad0s1c), it specifies vinum *drives*. -T -- "On a normal ascii line, the only safe condition to detect is a 'BREAK' - everything else having been assigned functions by Gnu EMACS." (By Tarl Neustaedter) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message