From owner-freebsd-geom@FreeBSD.ORG Tue Sep 21 04:32:00 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78AB116A4CE for ; Tue, 21 Sep 2004 04:32:00 +0000 (GMT) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05B1B43D1D for ; Tue, 21 Sep 2004 04:32:00 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from hawkwind.Chelsea-Ct.Org (pool-151-199-91-61.roa.east.verizon.net [151.199.91.61]) by gromit.dlib.vt.edu (8.13.1/8.13.1) with ESMTP id i8L4VvRK054869 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 21 Sep 2004 00:31:59 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: from [192.168.1.25] (zappa [192.168.1.25])i8L4VpiY009755 for ; Tue, 21 Sep 2004 00:31:52 -0400 (EDT) From: Paul Mather To: freebsd-geom@freebsd.org Content-Type: text/plain Message-Id: <1095741109.9448.84.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 21 Sep 2004 00:31:51 -0400 Content-Transfer-Encoding: 7bit Subject: Fresh install onto geom_stripe or geom_mirror? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 04:32:00 -0000 Does anyone have any advice as to the best way to do a fresh install onto an all-mirrored or all-striped geom setup? I'm about to obtain a Dell Optiplex (GX280?) on which I plan to run some simulation experiments. The system currently has Windows XP installed (so I believe, anyway), and I plan on wiping that and installing RELENG_5 (or perhaps HEAD). The PC has two 80 GB drives fitted that I'd like either to mirror or stripe together as one "drive" and then install onto that. What is the best way to do that? I run FreeBSD-CURRENT at home with a root-on-gvinum mirrored setup. Currently, geom_vinum lacks good read load-balancing, which would be advantageous to have when running my simulations. I will be reading and writing (mostly reading) a multi-gigabyte Berkeley DB during the simulation runs, so having both drives contribute to reads instead of just one is pretty much a necessity. (According to a recent freebsd-current digest, the load balancing issue may now have been addressed in geom_vinum; I'm building a new kernel to see if this is so. But, even if true, I don't really need the complexity of the gvinum LVM and would like to try something more more basic like geom_mirror or geom_stripe.) Usually, when I install a system I do a minimal install; cvsup recent sources; and then build a customised kernel and world. With "gmirror" it is possible to create a mirror with only one initial provider. So, I could perform a minimal install onto, say, ad0s1 and then create and populate a mirror on ad2s1. After booting the mirror, ad0s1 could be added to the mirror to get a true two-drive mirror. (Is it better to use adXsY or just adX when creating mirrors? All the examples use the raw devices, not slices.) However, gstripe requires two initial providers according to the man page, ruling out the above technique. :-\ Is there some alternative way of creating a stripe covering two drives entirely on an already-installed two-drive system? Perhaps an alternative approach would be to have one slice containing a conventional install of /, swap, /var, and /usr (perhaps mirrored via geom_mirror), and then a second slice for, say, /data, that will be made into a geom_stripe for the simulation data files after install. Hints and suggestions welcomed. :-) Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa