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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 the

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.



[-- Attachment #2 --]
-----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-----
home | help

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