From owner-freebsd-fs@FreeBSD.ORG Sun Mar 22 19:43:36 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 273391065745; Sun, 22 Mar 2009 19:43:36 +0000 (UTC) (envelope-from gsutter@zer0.org) Received: from kyanos.zer0.org (kyanos.zer0.org [149.20.54.45]) by mx1.freebsd.org (Postfix) with ESMTP id 06E3F8FC24; Sun, 22 Mar 2009 19:43:35 +0000 (UTC) (envelope-from gsutter@zer0.org) Received: from localhost (localhost [127.0.0.1]) by kyanos.zer0.org (Postfix) with ESMTP id E0A19126364E; Sun, 22 Mar 2009 12:43:35 -0700 (PDT) X-Virus-Scanned: amavisd-new at zer0.org Received: from kyanos.zer0.org ([127.0.0.1]) by localhost (kyanos.zer0.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oHdOozrFKOeK; Sun, 22 Mar 2009 12:43:35 -0700 (PDT) Received: by kyanos.zer0.org (Postfix, from userid 1001) id 8221F1259C5D; Sun, 22 Mar 2009 12:43:35 -0700 (PDT) Date: Sun, 22 Mar 2009 12:43:35 -0700 From: Gregory Sutter To: Pawel Jakub Dawidek Message-ID: <20090322194335.GL2075@kyanos.zer0.org> References: <20090311215518.GA25410@gvr.gvr.org> <20090312195904.GA1786@garage.freebsd.pl> <20090322120521.GA5584@kyanos.zer0.org> <20090322172749.GJ3102@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/aHqdxxe3Vo3WJ36" Content-Disposition: inline In-Reply-To: <20090322172749.GJ3102@garage.freebsd.pl> Organization: Zer0 X-Purpose: For great justice! Mail-Copies-To: poster X-PGP-Fingerprint: D161 E4EA 4BFA 2427 F3F9 5B1F 2015 31D5 845D FEDD X-PGP-Key: http://zer0.org/~gsutter/gsutter.pgp User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-fs@freebsd.org Subject: Re: RFC: geli+gmirror problem + solution X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2009 19:43:38 -0000 --/aHqdxxe3Vo3WJ36 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-03-22 18:27 +0100, Pawel Jakub Dawidek wrote: > On Sun, Mar 22, 2009 at 05:05:21AM -0700, Gregory Sutter wrote: > > On 2009-03-12 20:59 +0100, Pawel Jakub Dawidek wrote: > > > On Wed, Mar 11, 2009 at 10:55:18PM +0100, Guido van Rooij wrote: > > > > > > > > Anyway, when rebooting, geli does not detach and this the gmirror is > > > > never destroyed resulting in a rebuild each time. > > >=20 > > > Maybe you could implement detaching on reboot > > > for geli providers? You can find example of how to do this in three l= ast > > > functions in sys/geom/mirror/g_mirror.c. > >=20 > > Has this been filed as a PR, and has any progress been made on a fix? >=20 > The rest of the discussion was made private (probably by accident), > sorry about that. Fix is already committed to HEAD. Woot. Thanks for committing that! This fix looks like a straightforward MFC: http://svnweb.freebsd.org/viewvc/base/head/sys/geom/eli/g_eli.c?r1=3D172506= &r2=3D189900 Do you agree, and if so, will you please MFC to 7-STABLE? That's where I'm encountering the problem. --=20 Gregory S. Sutter Mostly Harmless mailto:gsutter@zer0.org=20 http://zer0.org/~gsutter/=20 --/aHqdxxe3Vo3WJ36 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFJxpTnIBUx1YRd/t0RAsp1AJ42Fb8dT65dyoooTw45fkWeQIfSYgCeNK2S LMl9ZjK1DbVr5zuva91rI8g= =w2fw -----END PGP SIGNATURE----- --/aHqdxxe3Vo3WJ36--