From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 21:22:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5029E106568B for ; Sun, 17 Jan 2010 21:22:17 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout01.plus.net (relay.ptn-ipout01.plus.net [212.159.7.35]) by mx1.freebsd.org (Postfix) with ESMTP id DEB218FC15 for ; Sun, 17 Jan 2010 21:22:16 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAIIOU0tUXebz/2dsb2JhbADUAYQyBA Received: from relay02.plus.net ([84.93.230.243]) by relay.ptn-ipout01.plus.net with ESMTP; 17 Jan 2010 21:22:15 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by relay02.plus.net with esmtp (Exim) id 1NWcZb-0003ND-GC; Sun, 17 Jan 2010 21:22:15 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NWcZb-0001PN-5k; Sun, 17 Jan 2010 21:22:15 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 17 Jan 2010 21:22:14 +0000 User-Agent: KMail/1.9.10 References: <201001152334.52978.jmc-freebsd2@milibyte.co.uk> <201001171639.41777.jmc-freebsd2@milibyte.co.uk> <4B534661.7030905@infracaninophile.co.uk> In-Reply-To: <4B534661.7030905@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201001172122.15128.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 41d616c23761f977a12531a48e6debf7 Cc: Pieter de Goeje Subject: Re: Newbie gmirror questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2010 21:22:17 -0000 On Sunday 17 January 2010, Matthew Seaman wrote: > Mike Clarke wrote: > > Actually I was more concerned about what happens when I boot into > > another OS like Windows or Linux on one of the spare slices - I'm > > assuming that I have to apply gmirror to the whole disk rather than > > just selected slices? > > You can't do this. =A0gmirror is FreeBSD specific, and other OSes can't > deal with it. =A0You can take your two drives, partition them (fdisk) > and then create a gmirror across the slices you assign to FreeBSD. This will make things a lot easier for me. I think all the examples of=20 gmirror I've seen used things like /dev/da0 as the provider in label=20 commands so I assumed that I had to use the whole physical disk but if=20 I can mirror individual slices then I have much more flexibility. My motherboard has a UDMA133 controller for ata0 & ata1 (which I don't=20 use) and 2 SATA controllers for ata2 to ata5 so with my 2 SATA drives=20 spread between the controllers on channels 2 & 4 I could have something=20 like /dev/mirror/gm1 provided by /dev/ad2s1 & /dev/ad4s1=20 and /dev/mirror/gm2 provided by /dev/ad2s2 & /dev/ad4s2 for a couple of=20 =46reeBSD systems. That will leave me with 2 spare slices on each drive=20 for other purposes. Any Windows or Linux stuff I put on tends to be=20 mainly experimental and less long term than my FreeBSD system so don't=20 really need the resilience of being mirrored. =2D-=20 Mike Clarke