Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2007 02:34:12 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        Joe Kelsey <joe@zircon.seattle.wa.us>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: gmirror Issues
Message-ID:  <46071504.4050303@fer.hr>
In-Reply-To: <4607100B.5050807@zircon.seattle.wa.us>
References:  <4606E163.9000506@zircon.seattle.wa.us>	<eu6qvc$ja7$1@sea.gmane.org> <4607100B.5050807@zircon.seattle.wa.us>

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

Joe Kelsey wrote:

> The major thing that needs doing is a detailed explanation of how to
> take two brand new disk drives and mirror them.  Nothing in the
> documentation discusses this.  Do you have to create file systems on th=
e

This is actually easy:

1. Create everything you need on the first drive (ok, you don't need
*everything* - just the base system and partitions)
2. gmirror label myraid mydrive0
3. gmirror insert myraid mydrive1

This way, mydrive0 will be the "master", which would be replicated on
the mydrive1 hereafter. After the first sync is complete, they will be
equal and mirrored. If the mirror is your root drive, don't forget to
fixup fstab and add geom_mirror module to the loader before rebooting.



--------------enigCB83542A380996215AD8D0C0
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.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGBxUEldnAQVacBcgRAhsnAKCgNcnLcBnZjVTwc/OVClIL83NaHwCgnUM9
9gsTPUWYbXx/3Mr/vk6zV5w=
=5PjO
-----END PGP SIGNATURE-----

--------------enigCB83542A380996215AD8D0C0--



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