gmirror name conflict

Pierre-Francois LAURAND lists at lrnx.ath.cx
Sat Apr 21 22:10:54 UTC 2007


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



More information about the freebsd-geom mailing list