From owner-freebsd-current@FreeBSD.ORG Tue Aug 24 07:56:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7790416A4CE for ; Tue, 24 Aug 2004 07:56:44 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8497343D53 for ; Tue, 24 Aug 2004 07:56:43 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 5ED4EACC65; Tue, 24 Aug 2004 09:56:37 +0200 (CEST) Date: Tue, 24 Aug 2004 09:56:37 +0200 From: Pawel Jakub Dawidek To: "Mario A. Doria" Message-ID: <20040824075637.GB30151@darkness.comp.waw.pl> References: <20040823114656.0453716A4DE@hub.freebsd.org> <200408231218.29467.mariodoria@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Mpco6AjI66RzYq4w" Content-Disposition: inline In-Reply-To: <200408231218.29467.mariodoria@yahoo.com> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-current@freebsd.org Subject: Re: GMirror info X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 07:56:44 -0000 --Mpco6AjI66RzYq4w Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 23, 2004 at 12:18:29PM -0500, Mario A. Doria wrote: +> Hi, +>=20 +> I'm in the process of migrating from a vinum RAID-1 config to a GEOM=20 +> Mirror config, is there any help available or something I can use to=20 +> guide myself? There is a manual page for gmirror already in -CURRENT (if you haven't checked it out already). If you want to migrate without dump(8)/restore(8), it is possible, but risky. First you need to find out where vinum stores metadata (I don't know) and do dd(1): # dd if=3D/dev/ of=3D/dev/ skip=3D Where and are your mirror's components and is the number of sectors used by vinum (if they are stored at the beggining). You can increase block size for dd(1) to speed up things, but it will confuse 'skip' argument. Then you should create the mirror by using gmirror command: # gmirror label -b round-robin # gmirror load # gmirror insert But keep in mind that this is a risky procedure and I haven't tested it. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --Mpco6AjI66RzYq4w Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBKvS1ForvXbEpPzQRArq/AKCihoQUZ4sfJBgsd05iFakCuViR7ACgnSiC Umm6iGqx2iTMNsiq5cXv+M0= =cTMd -----END PGP SIGNATURE----- --Mpco6AjI66RzYq4w--