Date: Sun, 22 Mar 2009 18:27:49 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Gregory Sutter <gsutter@zer0.org> Cc: freebsd-fs@freebsd.org Subject: Re: RFC: geli+gmirror problem + solution Message-ID: <20090322172749.GJ3102@garage.freebsd.pl> In-Reply-To: <20090322120521.GA5584@kyanos.zer0.org> References: <20090311215518.GA25410@gvr.gvr.org> <20090312195904.GA1786@garage.freebsd.pl> <20090322120521.GA5584@kyanos.zer0.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--/Zw+/jwnNHcBRYYu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 22, 2009 at 05:05:21AM -0700, Gregory Sutter wrote: > On 2009-03-12 20:59 +0100, Pawel Jakub Dawidek <pjd@FreeBSD.org> wrote: > > On Wed, Mar 11, 2009 at 10:55:18PM +0100, Guido van Rooij wrote: > > > > > > We have a setup where we have two disks in a gmirror with GELI on top > > > of it. We boot from it (using a small unencrypted USB stick). > > > We this have the G_ELI_FLAG_BOOT set. > > >=20 > > > 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 last > > 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? The rest of the discussion was made private (probably by accident), sorry about that. Fix is already committed to HEAD. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --/Zw+/jwnNHcBRYYu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFJxnUVForvXbEpPzQRAjPnAKCxE2i7sLiEx33euhAelneP0LWWtQCfTP7Z OhQjoWqDYrKC7Cfivjb7+Wg= =7WdH -----END PGP SIGNATURE----- --/Zw+/jwnNHcBRYYu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090322172749.GJ3102>