From owner-freebsd-fs@FreeBSD.ORG Thu Jan 24 17:22:10 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 20CAD5E4 for ; Thu, 24 Jan 2013 17:22:10 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mail.egr.msu.edu (dauterive.egr.msu.edu [35.9.37.168]) by mx1.freebsd.org (Postfix) with ESMTP id F0A2488D for ; Thu, 24 Jan 2013 17:22:09 +0000 (UTC) Received: from dauterive (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id AE02D2658B for ; Thu, 24 Jan 2013 12:22:03 -0500 (EST) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by dauterive (dauterive.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id igbswQB2ZB96 for ; Thu, 24 Jan 2013 12:22:03 -0500 (EST) Received: from EGR authenticated sender Message-ID: <51016DBC.5050001@egr.msu.edu> Date: Thu, 24 Jan 2013 12:22:04 -0500 From: Adam McDougall User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: gmirror doubt. References: <20130124165043.GB2386@garage.freebsd.pl> In-Reply-To: <20130124165043.GB2386@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 17:22:10 -0000 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.