From owner-freebsd-geom@FreeBSD.ORG Sat Apr 21 22:10:54 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 AE5C616A400 for ; Sat, 21 Apr 2007 22:10:54 +0000 (UTC) (envelope-from lists@lrnx.ath.cx) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4DEA713C45A for ; Sat, 21 Apr 2007 22:10:54 +0000 (UTC) (envelope-from lists@lrnx.ath.cx) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by postfix1-g20.free.fr (Postfix) with ESMTP id 7D07BE57C28 for ; Sat, 21 Apr 2007 23:42:34 +0200 (CEST) Received: from hermes.lrnx.net (fr141-1-82-237-217-212.fbx.proxad.net [82.237.217.212]) by smtp5-g19.free.fr (Postfix) with ESMTP id C950F43336 for ; Sat, 21 Apr 2007 23:42:32 +0200 (CEST) Received: from [192.168.1.17] (xpf@awax.blois.fr.lrnx.local [192.168.1.17]) by hermes.lrnx.net (8.13.6/8.13.6) with ESMTP id l3LLgW2C075387 for ; Sat, 21 Apr 2007 23:42:32 +0200 (CEST) (envelope-from lists@lrnx.ath.cx) Message-ID: <462A8548.3080505@lrnx.ath.cx> Date: Sat, 21 Apr 2007 23:42:32 +0200 From: Pierre-Francois LAURAND User-Agent: Thunderbird 2.0.0.0 (X11/20070421) MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (hermes.lrnx.net [82.237.217.212]); Sat, 21 Apr 2007 23:42:32 +0200 (CEST) X-Virus-Scanned: ClamAV 0.90.1/3146/Sat Apr 21 21:39:19 2007 on astra.blois.fr.lrnx.local X-Virus-Status: Clean Subject: 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:10:54 -0000 Hi, 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. Here is the way I consider to follow : 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 Can I be sure to keep my mirrored datas clean following these steps ? -- pfl