From owner-freebsd-stable@FreeBSD.ORG Tue Jan 25 20:28:08 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 4EEF9106564A for ; Tue, 25 Jan 2011 20:28:08 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2448FC08 for ; Tue, 25 Jan 2011 20:28:06 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p0PKS3jW045306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Jan 2011 22:28:03 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p0PKS2OU055502; Tue, 25 Jan 2011 22:28:02 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p0PKS2q2055501; Tue, 25 Jan 2011 22:28:02 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 25 Jan 2011 22:28:02 +0200 From: Kostik Belousov To: Doug Barton Message-ID: <20110125202802.GU2518@deviant.kiev.zoral.com.ua> References: <4D3E79D5.7050800@rdtc.ru> <4D3F24BE.1070206@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OwXA+KufQS8ol7Xv" Content-Disposition: inline In-Reply-To: <4D3F24BE.1070206@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_05, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: stable@freebsd.org, Eugene Grosbein 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 20:28:08 -0000 --OwXA+KufQS8ol7Xv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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= =20 > >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 a= nd=20 > >safer > >and it should support gmirror's mechanics for crashdumps out-of-the-box. >=20 > I'll tell you the same thing I told Kostik way back when I removed it.=20 > This is the only thing that anyone has ever suggested a use for in=20 > /etc/rc.early, and the "solution" in the man page is a hack. :) >=20 > If this is something that is necessary to do then I'd prefer to do it=20 > properly and add an /etc/rc.d/gmirror that runs in the proper (early)=20 > position, and then figure out the proper location in rc.d to handle the= =20 > second half of the configuration. >=20 No, my use for rc.early is different. I use it to load modules before filesystems are mounted. > I'm happy to review patches. :) >=20 >=20 > Doug >=20 > --=20 >=20 > Nothin' ever doesn't change, but nothin' changes much. > -- OK Go >=20 > Breadth of IT experience, and depth of knowledge in the DNS. > Yours for the right price. :) http://SupersetSolutions.com/ >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --OwXA+KufQS8ol7Xv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk0/MlIACgkQC3+MBN1Mb4hCIACggXMjAHkVh0oOGLCwGzKHghST XfUAn1XiWnZGPo5EZVZf1NoN9vXzg0Ty =BBTD -----END PGP SIGNATURE----- --OwXA+KufQS8ol7Xv--