From owner-freebsd-stable@FreeBSD.ORG Tue Jan 25 19:56:49 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DF5F1065670 for ; Tue, 25 Jan 2011 19:56:49 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id D5A998FC0A for ; Tue, 25 Jan 2011 19:56:48 +0000 (UTC) Received: (qmail 18958 invoked by uid 399); 25 Jan 2011 19:30:08 -0000 Received: from localhost (HELO doug-optiplex.ka9q.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 25 Jan 2011 19:30:08 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4D3F24BE.1070206@FreeBSD.org> Date: Tue, 25 Jan 2011 11:30:06 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101210 Thunderbird/3.1.7 MIME-Version: 1.0 To: Eugene Grosbein References: <4D3E79D5.7050800@rdtc.ru> In-Reply-To: <4D3E79D5.7050800@rdtc.ru> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: Living on gmirror: need to reincarnate /etc/rc.early X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2011 19:56:49 -0000 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. 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/