GMirror info

Pawel Jakub Dawidek pjd at
Tue Aug 24 00:56:44 PDT 2004

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             
pjd at                 
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list