Living on gmirror: need to reincarnate /etc/rc.early

Kostik Belousov kostikbel at gmail.com
Tue Jan 25 20:28:08 UTC 2011


On Tue, Jan 25, 2011 at 11:30:06AM -0800, Doug Barton wrote:
> On 01/24/2011 23:20, Eugene Grosbein wrote:
> >Hi!
> >
> >In RELENG_8, gmirror is good enough to keep whole HDD pair withing the 
> >mirror.
> >Its performance, stability any pretty ease of maintainance allows
> >to use it widely.
> >
> >With wide deployment of gmirror in production I've faced inability
> >of RELENG_8 to store kernel crashdumps out-of-the-box.
> >gmirror manual page documents a way to setup FreeBSD so that
> >it would store crashdumps again but that way involves /etc/rc.early
> >removed from RELENG_8. I've read about intentions - it was unsafe etc.
> >But we still need working crashdump support.
> >
> >Easiest way is to reincarnate /etc/rc.d/early support making it better and 
> >safer
> >and it should support gmirror's mechanics for crashdumps out-of-the-box.
> 
> I'll tell you the same thing I told Kostik way back when I removed it. 
> This is the only thing that anyone has ever suggested a use for in 
> /etc/rc.early, and the "solution" in the man page is a hack. :)
> 
> If this is something that is necessary to do then I'd prefer to do it 
> properly and add an /etc/rc.d/gmirror that runs in the proper (early) 
> position, and then figure out the proper location in rc.d to handle the 
> second half of the configuration.
> 
No, my use for rc.early is different. I use it to load modules
before filesystems are mounted.

> I'm happy to review patches.  :)
> 
> 
> Doug
> 
> -- 
> 
> 	Nothin' ever doesn't change, but nothin' changes much.
> 			-- OK Go
> 
> 	Breadth of IT experience, and depth of knowledge in the DNS.
> 	Yours for the right price.  :)  http://SupersetSolutions.com/
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110125/d97543d0/attachment.pgp


More information about the freebsd-stable mailing list