From owner-freebsd-stable@FreeBSD.ORG Sun Jun 25 18:07:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DE1816A404 for ; Sun, 25 Jun 2006 18:07:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C39B43D64 for ; Sun, 25 Jun 2006 18:07:12 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.6/8.13.6) with ESMTP id k5PI71XN057769; Sun, 25 Jun 2006 19:07:01 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <449ED0BF.90001@infracaninophile.co.uk> Date: Sun, 25 Jun 2006 19:06:55 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.4 (X11/20060610) MIME-Version: 1.0 To: =?ISO-8859-15?Q?V=E1clav_Haisman?= References: <449ECDD1.8070407@sh.cvut.cz> In-Reply-To: <449ECDD1.8070407@sh.cvut.cz> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigC166A754FDF243C0F93E9FEC" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 25 Jun 2006 19:07:02 +0100 (BST) X-Virus-Scanned: ClamAV 0.88.2/1562/Fri Jun 23 08:50:07 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-stable@freebsd.org Subject: Re: Setting up GEOM mirror X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 18:07:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC166A754FDF243C0F93E9FEC Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable V=E1clav Haisman wrote: > Hi, > I want to set up GEOM mirror of whole existing partitioned 250G disk. > The procedure described at > seems to be rather long/complicated. I thought about using this: >=20 > # Boot into single user, then... > # First change fstab. > cp -p /etc/fstab /etc/fstab.orig > sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /etc/fstab > # Then create the mirror. > gmirror label -v -b split -s 2048 mymirror ad0 > gmirror insert -h mymirror ad2 > # Reboot into the new World order. > shutdown -r now >=20 > Will this work or is it wrong? I appreciate any comment to this. http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigC166A754FDF243C0F93E9FEC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEntDF8Mjk52CukIwRA/r+AJ0WjcKvyAy6uya4xpCVqQJXh6cd/wCaAx+p ziREkEJhzliDsRYPwYcK2Yo= =BeKB -----END PGP SIGNATURE----- --------------enigC166A754FDF243C0F93E9FEC--