Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 17:50:43 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        araujo@FreeBSD.org
Cc:        freebsd-fs@freebsd.org
Subject:   Re: gmirror doubt.
Message-ID:  <20130124165043.GB2386@garage.freebsd.pl>
In-Reply-To: <CAOfEmZiw--QV=Taic=c8P=2=%2BkVReqMjsr=6=KRCQ_pSbSgAZA@mail.gmail.com>
References:  <CAOfEmZiw--QV=Taic=c8P=2=%2BkVReqMjsr=6=KRCQ_pSbSgAZA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--tsOsTdHNUZQcU9Ye
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 24, 2013 at 07:04:01PM +0800, Marcelo Araujo wrote:
> Hello Guys,
>=20
> I'm wondering if is possible load the gmirror without activate the mirror=
s.
>=20
> As an example:
> I have several mirrors using gmirror, when I'm loading gmirror, all mirro=
rs
> 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.
>=20
> 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.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl

--tsOsTdHNUZQcU9Ye
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlEBZmMACgkQForvXbEpPzRS2wCg7/EZXOapEM/5pkVoCqL+o6Fr
jp8AoJZQ9aBrlI8P+6SdynkVLj7dyeKo
=aD1y
-----END PGP SIGNATURE-----

--tsOsTdHNUZQcU9Ye--



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