Date: Tue, 24 Aug 2004 09:56:37 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: "Mario A. Doria" <mariodoria@yahoo.com> Cc: freebsd-current@freebsd.org Subject: Re: GMirror info Message-ID: <20040824075637.GB30151@darkness.comp.waw.pl> In-Reply-To: <200408231218.29467.mariodoria@yahoo.com> References: <20040823114656.0453716A4DE@hub.freebsd.org> <200408231218.29467.mariodoria@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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/<disk0> of=3D/dev/<disk1> skip=3D<N> Where <disk0> and <disk1> are your mirror's components and <N> 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 <name> <disk1> # gmirror load # gmirror insert <name> <disk0> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040824075637.GB30151>