gmirror doubt.

Adam McDougall mcdouga9 at egr.msu.edu
Thu Jan 24 17:22:10 UTC 2013


On 1/24/2013 11:50 AM, Pawel Jakub Dawidek wrote:
> On Thu, Jan 24, 2013 at 07:04:01PM +0800, Marcelo Araujo wrote:
>> Hello Guys,
>>
>> I'm wondering if is possible load the gmirror without activate the mirrors.
>>
>> As an example:
>> I have several mirrors using gmirror, when I'm loading gmirror, all mirrors
>> that are activated are loaded. What I'd like to do is totally the oposite,
>> something like: Load gmirror, and active every mirror by myself.
>>
>> Anyone with more experience with geom could give me a clue about it?
> Unfortunately it is not possible. You could probably prepare some hack
> that would keep all gmirror components open for writing during load of
> gmirror module, which would prevent gmirror from using them immediately,
> but it would be gross.
>
> Alternatively you could introduce even simple sysctl which, when set,
> will disable tasting in gmirror globally.
>
Just putting in my 2 cents that I'd LOVE LOVE LOVE a sysctl to disable
tasting by geom, even if global.  My #1 extreme frustration with gmirror,
gjournal etc is the difficulty of removing the on-disk config when the
kernel is fighting you to keep re-tasting it and keeping it active.


More information about the freebsd-fs mailing list