From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 17:18:43 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 E626D106566B for ; Sun, 17 Jan 2010 17:18:43 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 460878FC15 for ; Sun, 17 Jan 2010 17:18:43 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0HHIWUQ015126; Sun, 17 Jan 2010 17:18:33 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0HHIWUQ015126 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263748713; bh=a39SEUVdk8lW87VxP1kzbQOXbgBFSCuLJe0OfpFIY0A=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B534661.7030905@infracaninophile.co.uk>|Date:=20S un,=2017=20Jan=202010=2017:18:25=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20100114)|MIME-Vers ion:=201.0|To:=20Mike=20Clarke=20|CC: =20freebsd-questions@freebsd.org,=20Pieter=20de=20Goeje=20|Subject:=20Re:=20Newbie=20gmirror=20questions|Referenc es:=20<201001152334.52978.jmc-freebsd2@milibyte.co.uk>=09<20100116 1545.31616.pieter@degoeje.nl>=20<201001171639.41777.jmc-freebsd2@m ilibyte.co.uk>|In-Reply-To:=20<201001171639.41777.jmc-freebsd2@mil ibyte.co.uk>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipar t/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"applicati on/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigE6076D710 72F16B372761180"; b=yO8P6uUO2E9cSNs4iwjTVGvVCgpO5CwEAhrgDIqwFgOBfuQETfOlB9trFB/secw17 y2AKwNk5VBIaIubcMnWgZpCp9CwXDqfyG6Myw/IX4qIu7K9KlXckEuhlYbbG6xqdi0 fX287DCYd4A/05aeKtkosvhynCbt5C2jqtG3+spI= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B534661.7030905@infracaninophile.co.uk> Date: Sun, 17 Jan 2010 17:18:25 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20100114) MIME-Version: 1.0 To: Mike Clarke References: <201001152334.52978.jmc-freebsd2@milibyte.co.uk> <201001161545.31616.pieter@degoeje.nl> <201001171639.41777.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <201001171639.41777.jmc-freebsd2@milibyte.co.uk> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE6076D71072F16B372761180" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Pieter de Goeje , freebsd-questions@freebsd.org 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 17:18:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE6076D71072F16B372761180 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Mike Clarke wrote: > Actually I was more concerned about what happens when I boot into=20 > another OS like Windows or Linux on one of the spare slices - I'm=20 > assuming that I have to apply gmirror to the whole disk rather than=20 > just selected slices? You can't do this. gmirror is FreeBSD specific, and other OSes can't deal with it. You can take your two drives, partition them (fdisk) and then create a gmirror across the slices you assign to FreeBSD. Similarly= you could set up md to mirror the slice(s) used for Linux. As far as I know, Windows doesn't come with OS level mirroring software -- it can use= hostraid[*], or I believe there are some commercial solutions you can purchase. Or just treat your Windows partitions as two separate drives, and live without resilience for that OS. As far as booting the system goes, Grub should be able to boot each OS from either mirror as if it was a plain installation on a single drive. Wilder suggestions would be to install Linux, Open Solaris or NetBSD as a= Xen dom0, and then install your other OSes as domU guests. In this case,= you'ld mirror the storage within the dom0 instance and export a device to= each of the client OSes. [Open Solaris particularly interesting for this= purpose, as you could use ZFS.] This is substantially more complex to se= t up than your current plan, but does have the very handy advantage that yo= u can run all of your OSes simultaneously. Cheers, Matthew [*] FreeBSD can use this too -- the disks appear as an ar device (see ata= (4)) -- and presumably so can Linux, but I can't confirm that. Hostraid is generally second best to OS based RAIDs. Apart from anything else, you t= end to have to bring the system down to the BIOS level to do anything to the RAIDs. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigE6076D71072F16B372761180 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktTRmgACgkQ8Mjk52CukIxenwCfUb1RhIe0jjNGHGzJnGG1Bbpk m6IAnjgSbRdAH7uwwaSYWwKJIdQj1waC =XP1I -----END PGP SIGNATURE----- --------------enigE6076D71072F16B372761180--