Date: Sun, 22 Apr 2007 00:42:00 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Pierre-Francois LAURAND <lists@lrnx.ath.cx> Cc: freebsd-geom@freebsd.org Subject: Re: gmirror name conflict Message-ID: <20070421224200.GG46583@garage.freebsd.pl> In-Reply-To: <462A8548.3080505@lrnx.ath.cx> References: <462A8548.3080505@lrnx.ath.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
--xs+9IvWevLaxKUtW Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 21, 2007 at 11:42:32PM +0200, Pierre-Francois LAURAND wrote: > Hi, >=20 > I'm looking for the right way to migrate a couple of gmirrored drives ( > gm0 ) from one box to another one with an already configured gmirror : > gm0, too. > My goal is just to rename gm0 from the original box to gm1 on the new > one, keeping datas of the mirror. >=20 > Here is the way I consider to follow : >=20 > old# gmirror desactivate gm0 /dev/da0s2 > old# gmirror desactivate gm0 /dev/da1s2 > ... > new# gmirror label -n gm1 /dev/da2s2 > new# gmirror insert gm1 /dev/da3s2 > new# gmirror configure -a gm1 >=20 > Can I be sure to keep my mirrored datas clean following these steps ? Yeah, but a bit simpler: # gmirror stop gm0 # gmirror label gm1 da2s2 da3s2 --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --xs+9IvWevLaxKUtW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGKpM4ForvXbEpPzQRAkGPAJ0QP53X6JPHuMjcwy62q/dC9KbZZgCgyfAO JksAWtPXn0BSip8e4D3BW7k= =Znxn -----END PGP SIGNATURE----- --xs+9IvWevLaxKUtW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070421224200.GG46583>