From owner-freebsd-stable@FreeBSD.ORG Sun Jun 25 19:34:21 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 B7B8716A402 for ; Sun, 25 Jun 2006 19:34:21 +0000 (UTC) (envelope-from V.Haisman@sh.cvut.cz) Received: from service.sh.cvut.cz (service.sh.cvut.cz [147.32.127.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A50943D70 for ; Sun, 25 Jun 2006 19:34:11 +0000 (GMT) (envelope-from V.Haisman@sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service.sh.cvut.cz (Postfix) with ESMTP id 723B71A363A; Sun, 25 Jun 2006 21:34:10 +0200 (CEST) Received: from service.sh.cvut.cz ([127.0.0.1]) by localhost (service [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29149-06; Sun, 25 Jun 2006 21:34:07 +0200 (CEST) Received: from logout.sh.cvut.cz (logout.sh.cvut.cz [147.32.127.203]) by service.sh.cvut.cz (Postfix) with ESMTP id 04DA91A363D; Sun, 25 Jun 2006 21:34:07 +0200 (CEST) Received: from [192.168.1.2] (localhost [127.0.0.1]) by logout.sh.cvut.cz (Postfix) with ESMTP id 9CE4D61C20; Sun, 25 Jun 2006 21:34:05 +0200 (CEST) Message-ID: <449EE52D.2040301@sh.cvut.cz> Date: Sun, 25 Jun 2006 21:34:05 +0200 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Mike Jakubik References: <449ECDD1.8070407@sh.cvut.cz> <449ED0BF.90001@infracaninophile.co.uk> <449ED26B.20706@rogers.com> In-Reply-To: <449ED26B.20706@rogers.com> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=733031B4 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUnMzWJm5S+0864pn5r blp/hnW2up7X7uqftbNRVUrW1LGBdGfHwJqPi3ScoYtBQzhDxGEwAAAAB3RJTUUH1QoQDDgyQtx8 HQAAAkNJREFUeJzFU0toU0EUPYu66CpGdCUUmoUJkpUDQUoNBVEUrBJsq1Ki2EIKIUZ8mydBhYi0 wVUXJVCLCrFN4DIEQdxIqdBIFsMkWD9YJClCRGKjJaviynjfe8RPogtXPcObuXPOPXd+PHj+Aeyo QNmobGLXVeANGM+GsP0B2yqHHNVoCD2LwLglVGZx7yXSlADR0uZu9C4Bpy3hUxPvH/cuUw6UoPCL h64I8KAJuMpwRU8uUMJy0OIpHVeXmulZoCc/t0LlTbJLEY1EudPRcnVjgAP5Osdl4K5HVP4+2bAI okaUA0Iq6Q59+Zy2eMWN6EpFTsa3+uD1+JKj4TPHuYTSMaLScLAaqk94YJqG4ds30hojOVgYoNJc NTztNU2TBYbhu9Aafnq08ORja37da1NwBrN/b7NVEc+b8yecuYkp08vNvLYneVZRaSH1vS0UnfHm OUPzWaZufHPmCWSdWrfeGVQQKmcsO4If8pAdXJ/xF4QQAeOVY1AQQcfirwkLUWeWVTgi6vaGt2xe BGzBEIMQorru8RxgPqY1V6uxYnwVBRZEI1ytCm3dE8mC2DgcbzCJGHdBEVDKuWDSwsrSGoqzJmNt 2jJpNueIH0qS8/0JrDKnVBdvOzIsdVr4zaX9dn9xcLLKdCtQGfutVacLE9Ja+yfbDvO4aMWrklfK /JYv15C8Kw9S10kup5Bys0N1bLdcn4HvTl/Xlh6Fpllwj5/XpH9BUXn/ym0Dvv7Rt2MywojpYiSi i7Hsscaa19zZ//y/hR+BT/ns80nmJAAAAABJRU5ErkJggg== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE9A2A9B12B38113D8575BE4B" X-Virus-Scanned: by amavisd-new at sh.cvut.cz X-Spam-Status: No, hits=-5.9 tagged_above=-255.0 required=5.0 tests=ALL_TRUSTED, BAYES_00 X-Spam-Level: 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 19:34:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE9A2A9B12B38113D8575BE4B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mike Jakubik wrote, On 25.6.2006 20:14: > Matthew Seaman wrote: >> V=C3=A1clav Haisman wrote: >> =20 >>> 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: >>> >>> # 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 >>> >>> Will this work or is it wrong? I appreciate any comment to this. >>> =20 >> >> http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html >> =20 >=20 > The problem with these instructions is that they don't take in to > account the last sector. You may very well end up writing the metadata > on the file system. Hmm, this is goot to know. However in my case it will be ok, I have some spare space at the end of the disk. -- Vaclav Haisman --------------enigE9A2A9B12B38113D8575BE4B 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.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRJ7lLW56zbtzMDG0AQJD8Af8D/99pfgCLPlbbSkS5OMPDMpoDzYXeMk3 mTph3/JNMILlQ8lcf/VITrQ1ZdvGrnCvIHjkRwbydDO1RzlhPqYnncrUjn5tH6rz ltlySFrzwpX1Lc8KBguUYY0ZzuqXM2Wn1ImyYccI3W8wrsbvrJQac/mA9QzKtwRG UkKNXdWkZkPOJZ5XPxSdGPkUu8cD1fG2+yqXJEXJ9DyBZaDbIm6OrcCRrq3lkTJq kfHX3N5D3ElNJ/Cmhh6m5CFmcfM11MXLoeQcwtC/OCSxOXIT5Nq12aO8/VRBa6xp HhDpGHEmCSMS1Jw/jWh/FBCJIJyoTCkFAsNuUdQmvJoQ7jofugrZFA== =TiJQ -----END PGP SIGNATURE----- --------------enigE9A2A9B12B38113D8575BE4B--