RFC: geli+gmirror problem + solution

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Mar 22 10:27:20 PDT 2009


On Sun, Mar 22, 2009 at 05:05:21AM -0700, Gregory Sutter wrote:
> On 2009-03-12 20:59 +0100, Pawel Jakub Dawidek <pjd at 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.
> > > 
> > > Anyway, when rebooting, geli does not detach and this the gmirror is
> > > never destroyed resulting in a rebuild each time.
> > 
> > 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.
> 
> 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.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20090322/c0e6ca9b/attachment.pgp


More information about the freebsd-fs mailing list