From owner-freebsd-questions Mon Aug 27 16: 4:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.austclear.com.au (ns2.austclear.com.au [192.43.185.70]) by hub.freebsd.org (Postfix) with ESMTP id 4A94737B403 for ; Mon, 27 Aug 2001 16:04:20 -0700 (PDT) (envelope-from ahl@austclear.com.au) Received: from tungsten.austclear.com.au (tungsten.austclear.com.au [192.168.166.65]) by ns2.austclear.com.au (8.11.2/8.11.3) with ESMTP id f7RN4I485443; Tue, 28 Aug 2001 09:04:18 +1000 (EST) (envelope-from ahl@austclear.com.au) Received: from tungsten (tungsten [192.168.166.65]) by tungsten.austclear.com.au (8.9.3/8.9.3) with ESMTP id JAA23332; Tue, 28 Aug 2001 09:04:17 +1000 (EST) Message-Id: <200108272304.JAA23332@tungsten.austclear.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Kory Hamzeh" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vinum question In-Reply-To: Message from "Kory Hamzeh" of "Mon, 27 Aug 2001 12:58:17 MST." <005201c12f32$9d236f60$14ce21c7@avatar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Aug 2001 09:04:17 +1000 From: Tony Landells 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 kory@avatar.com said: > I've been reading up on vinum, but I can't tell if I can enable vinum > on a filesystem that is already configured with FBSD 4.3-RELEASE. For > example, my server is up and running right now with a /, /var, and / > usr filesystems all on the first physical drive. Can I now enable > vinum to use the second drive for RAID 1 mirroring? The answer is basically yes, but there are some caveats... You can mirror "/", because there is a chicken and egg situation in startup. Vinum needs to be started and to read its information from disk before any vinum partitions can be used. And vinum needs to store 265 blocks of configuration information at the start of each vinum "device". The "best" way to do this is have all the vinum managed space on a disk together so that you only need to "sacrifice" 265 blocks for the disk. So, if you have "/" on disk slice "a", swap on "b", "/var" and "/usr" on, say, "g" and "h" (basically somewhere on disk with no other disk space between them), then you can reduce swap by 265 blocks to make room for the vinum configuration without losing your existing data on "/var" and "/usr". Of course, if you don't have 265 blocks of swap to spare (try monitoring it for a while with "swapinfo" if you aren't sure), then things will get pretty ugly. If you search the archives there is a discussion around 24 January this year about how to do this. That discussion is actually called "installing onto vinum" but the idea is exactly the same. Cheers Tony -- Tony Landells Senior Network Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message