From owner-freebsd-geom@FreeBSD.ORG Sat Apr 21 22:42:50 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D6E916A400 for ; Sat, 21 Apr 2007 22:42:50 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 34A1B13C45B for ; Sat, 21 Apr 2007 22:42:49 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 7D10F45CD9; Sun, 22 Apr 2007 00:42:48 +0200 (CEST) Received: from localhost (public-gprs74242.centertel.pl [91.94.163.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6241845681; Sun, 22 Apr 2007 00:42:37 +0200 (CEST) Date: Sun, 22 Apr 2007 00:42:00 +0200 From: Pawel Jakub Dawidek To: Pierre-Francois LAURAND Message-ID: <20070421224200.GG46583@garage.freebsd.pl> References: <462A8548.3080505@lrnx.ath.cx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xs+9IvWevLaxKUtW" Content-Disposition: inline In-Reply-To: <462A8548.3080505@lrnx.ath.cx> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: gmirror name conflict X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2007 22:42:50 -0000 --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--