Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2010 15:10:52 -0700
From:      Modulok <modulok@gmail.com>
To:        Mike Clarke <jmc-freebsd2@milibyte.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Newbie gmirror questions
Message-ID:  <64c038661002051410y5dbb2b3fodb6addf5d13a1451@mail.gmail.com>
In-Reply-To: <201002052134.15945.jmc-freebsd2@milibyte.co.uk>
References:  <201001152334.52978.jmc-freebsd2@milibyte.co.uk> <201001172122.15128.jmc-freebsd2@milibyte.co.uk> <4B538459.7090601@infracaninophile.co.uk> <201002052134.15945.jmc-freebsd2@milibyte.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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
irrelevant.

-Modulok-


On 2/5/10, Mike Clarke <jmc-freebsd2@milibyte.co.uk> 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. =A0Here's a howto
>> for setting up gmirror across a pair of slices:
>>
>> http://people.freebsd.org/~rse/mirror/
>
> 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64c038661002051410y5dbb2b3fodb6addf5d13a1451>