Date: Sun, 25 Jun 2006 21:34:05 +0200 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V.Haisman@sh.cvut.cz> To: Mike Jakubik <mikej@rogers.com> Cc: freebsd-stable@freebsd.org Subject: Re: Setting up GEOM mirror Message-ID: <449EE52D.2040301@sh.cvut.cz> In-Reply-To: <449ED26B.20706@rogers.com> References: <449ECDD1.8070407@sh.cvut.cz> <449ED0BF.90001@infracaninophile.co.uk> <449ED26B.20706@rogers.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <http://people.freebsd.org/~rse/mirror/> >>> 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.orig >/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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?449EE52D.2040301>