From owner-freebsd-questions Mon Feb 28 5:26:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 4F90B37B744 for ; Mon, 28 Feb 2000 05:26:36 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id IAA30524; Mon, 28 Feb 2000 08:31:55 -0500 (EST) (envelope-from cjc) Date: Mon, 28 Feb 2000 08:31:55 -0500 From: "Crist J. Clark" To: William Sang Min Bae Cc: questions@freebsd.org Subject: Re: vinum (again) Message-ID: <20000228083154.A30453@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: <3.0.32.20000227211147.009bc880@24.2.10.70> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3.0.32.20000227211147.009bc880@24.2.10.70>; from wbae@home.com on Sun, Feb 27, 2000 at 09:11:49PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Feb 27, 2000 at 09:11:49PM -0800, William Sang Min Bae wrote: > I have newbie question about vinum too: > > I have 2 IBM 4.5GIG SCSI drives. I have setup FreeBSD-stable-3.4 on one of > the drives w/ a 100mb root partition, a 256M swap partition (128megs ram) > and the rest for the /usr directory (plus /var and /tmp inside /usr). > > How can I setup vinum to completely mirror the 2 drives and include all > partitions in the same mirrored plex? Is this possible? Not in FreeBSD 3.x where you cannot use vinum on the root partition. You could easily mirror the other partition. Personally, what I would do is partition each disk identically into three partitions, ~100 MB, ~128 MB, and the remainder. Use one ~100 MB partition as the root partition, the other possibly as /tmp, and use the two ~128 MB partitions as swap. Then, then make a mirrored vinum volume out of the two other partitions. (As an aside, another approach would be two paritions on each where one disk has root and vinum, and the other disk has swap and vinum.) IIRC, in 4.0, it will be possible to use vinum volumes as the root partition. I have no experience with this... yet. > Or can I only > create vinum volumes on free partitions? Not exactly sure what you are asking here. What's a "free" partition? > Or alternatively, is there any > way I can move my /usr (which also houses my /var and /tmp dirs) partition > into a vinum volume? Yes, just copy them like you would at any time. However, if you are asking whether you can convert your existing UFS partition into a vinum one non-destructively, the answer is no. You will have to copy /usr to some other location in order to save the contents. Kinda curious why I got CC'ed on this... Guess it worked, 'cause I answered. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message