fix remote degraded gmirror

Adam Vande More amvandemore at
Mon Sep 28 17:56:49 UTC 2009

On Mon, Sep 28, 2009 at 10:44 AM, Robin Becker <robin at> wrote:

> Thanks for the information re reboot; I think I knew it was a sata already.
> My one remaining question is what preparation does the hd need prior to
> gmirror insert. I see various people recommending clearing out various
> chunks of the disk (to make the disk unambiguously not in sync?), but that
> doesn't seem to be required. I guess the whole idea is to be able to just
> connect a new disk and start the system up and then insert back into the
> mirror.
> --
> Robin Becker

well, really only thing I can think of off hand is conflict gmirror labels
ie inserting into gm0 from another gm0.

a simple

dd if=/dev/zero of=/dev/adX bs=1M count=1

would fix that if nothing else

if there's was no existing label, there is nothing to do except gmirror man
instructions.  Gmirror is block level mirroring which why no other steps are

Adam Vande More

More information about the freebsd-questions mailing list