Newbie gmirror questions

Modulok modulok at
Fri Feb 5 22:10:54 UTC 2010

>> Does gmirror consider one of the consumers to act as a "master" for the pair?

No. The order doesn't matter. You could take out your hard drives and
shuffle them like cards and it wouldn't matter. All metadata is stored
in the last sector of the drives themselves. Cable order is


On 2/5/10, Mike Clarke <jmc-freebsd2 at> wrote:
> On Sunday 17 January 2010, Matthew Seaman wrote:
>> However, one of the really amazingly brilliant things about geom is
>> that just about any disk / storage related thing can be a geom
>> provider, and geom constructs will nest very happily.  Here's a howto
>> for setting up gmirror across a pair of slices:
> Thanks for all the advice, my mirrors are now up and running on 2 of the
> 4 slices without any problems.
> But just one last dumb question. Does gmirror consider one of the
> consumers to act as a "master" for the pair? The reason I ask is that
> earlier today I needed to disconnect a few cables inside the PC to get
> better access to a bit of internal hardware and then realised that
> although I knew which two SATA connectors to use for the mirror drives
> I'd failed to make a note of which order the drives were connected. I
> felt about 75% sure I'd paired them up the same way as before so went
> ahead, everything started up OK and "gmirror status" shows the status
> for both mirrors as "COMPLETE". Now I'm wondering if I was just lucky
> or if it just doesn't matter if the order of mirror consumers is
> interchanged after creation.
> --
> Mike Clarke
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list