RFC: geli+gmirror problem + solution
Gregory Sutter
gsutter at zer0.org
Sun Mar 22 12:43:38 PDT 2009
On 2009-03-22 18:27 +0100, Pawel Jakub Dawidek <pjd at FreeBSD.org> wrote:
> 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:
> > > >
> > > > 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.
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=172506&r2=189900
Do you agree, and if so, will you please MFC to 7-STABLE? That's
where I'm encountering the problem.
--
Gregory S. Sutter Mostly Harmless
mailto:gsutter at zer0.org
http://zer0.org/~gsutter/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20090322/2e5fbc71/attachment.pgp
More information about the freebsd-fs
mailing list