Re: GMirror info

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Tue, 24 Aug 2004 09:56:37 +0200
On Mon, Aug 23, 2004 at 12:18:29PM -0500, Mario A. Doria wrote:
+> Hi,
+> 
+> I'm in the process of migrating from a vinum RAID-1 config to a GEOM 
+> Mirror config, is there any help available or something I can use to 
+> 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=/dev/<disk0> of=/dev/<disk1> skip=<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.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd_at_FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Tue Aug 24 2004 - 05:56:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC