Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 12:22:04 -0500
From:      Adam McDougall <mcdouga9@egr.msu.edu>
To:        freebsd-fs@freebsd.org
Subject:   Re: gmirror doubt.
Message-ID:  <51016DBC.5050001@egr.msu.edu>
In-Reply-To: <20130124165043.GB2386@garage.freebsd.pl>
References:  <CAOfEmZiw--QV=Taic=c8P=2=%2BkVReqMjsr=6=KRCQ_pSbSgAZA@mail.gmail.com> <20130124165043.GB2386@garage.freebsd.pl>

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



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