Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2006 19:54:25 +0200
From:      =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V.Haisman@sh.cvut.cz>
To:        freebsd-stable@freebsd.org
Subject:   Setting up GEOM mirror
Message-ID:  <449ECDD1.8070407@sh.cvut.cz>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig23AD6B8FBF47956C524D85D2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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.

--
Vaclav Haisman


--------------enig23AD6B8FBF47956C524D85D2
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

iQEVAwUBRJ7N2W56zbtzMDG0AQKkhgf+Ow3fu97JqZloMgQhpQnNuU2szt+/KXae
P35S9glC4l3VL9lOceWhD4ZAhL4cbRixK/B9jOS7nXOX6uQaXiC1mLHDICNC8a8k
u+EblYLsaVi/b8LeNI1AB3v1ze3EE4XrD39DvyM7v1BUIRt9PXAVM6lpy377Hlu2
BQn8F52Dj60BRkzEfkWEgqPmjXS42+zP7Ann9DWkYzMZ0eHUC5o9zBDRjK4q4Ur0
IJ9OkWQGfzIV6L92+BqVSIT1f9quV/sd9HzsKDmIPRmEUEvGiTr73+bn+tIxyCIj
mamYTUuHxCltZk/TkjNUQj0QrsVQ0Wy6G/qL75kkl3hMy5JIpKd2eA==
=n6CU
-----END PGP SIGNATURE-----

--------------enig23AD6B8FBF47956C524D85D2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?449ECDD1.8070407>