From owner-freebsd-fs@FreeBSD.ORG Thu Jan 24 16:50:07 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C89D8888; Thu, 24 Jan 2013 16:50:07 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id 9695A6B7; Thu, 24 Jan 2013 16:50:06 +0000 (UTC) Received: from localhost (unknown [62.49.66.12]) by mail.dawidek.net (Postfix) with ESMTPSA id 83C4F26F; Thu, 24 Jan 2013 17:47:30 +0100 (CET) Date: Thu, 24 Jan 2013 17:50:43 +0100 From: Pawel Jakub Dawidek To: araujo@FreeBSD.org Subject: Re: gmirror doubt. Message-ID: <20130124165043.GB2386@garage.freebsd.pl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tsOsTdHNUZQcU9Ye" Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 16:50:07 -0000 --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--