From owner-freebsd-arch@FreeBSD.ORG Mon Aug 23 21:47:31 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF6CA16A4CE; Mon, 23 Aug 2004 21:47:31 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 595D143D1F; Mon, 23 Aug 2004 21:47:31 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id BB07CAC977; Mon, 23 Aug 2004 23:47:29 +0200 (CEST) Date: Mon, 23 Aug 2004 23:47:29 +0200 From: Pawel Jakub Dawidek To: John Baldwin Message-ID: <20040823214729.GX30151@darkness.comp.waw.pl> References: <20040823073559.GP30151@darkness.comp.waw.pl> <200408231146.12972.jhb@FreeBSD.org> <20040823190541.GS30151@darkness.comp.waw.pl> <200408231716.31321.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kRi8yh5Cr14O/OFH" Content-Disposition: inline In-Reply-To: <200408231716.31321.jhb@FreeBSD.org> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-arch@FreeBSD.org Subject: Re: Mounting root... X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2004 21:47:31 -0000 --kRi8yh5Cr14O/OFH Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 23, 2004 at 05:16:31PM -0400, John Baldwin wrote: +> On Monday 23 August 2004 03:05 pm, Pawel Jakub Dawidek wrote: +> > On Mon, Aug 23, 2004 at 11:46:12AM -0400, John Baldwin wrote: +> > +> Why not have mirror create the provider instantly in an degraded st= ate +> > as soon +> as one disk shows up and then change from degraded back to = full +> > when the +> second disk finally arrives? Isn't this the same case as +> > someone jerking the +> disk out at run time and then shoving it (or a = new +> > one) back in without +> rebooting? +> > +> > If it will be started in degraded mode, it can be mounted and modified +> > before next components arrive, so there will be a need to rebuild them. +>=20 +> How is this different from jerking the disk out of a running system and = then=20 +> shoving it back in again? You don't want to rebuild a mirror on every boot after clean shutdown. In most cases one can set kern.geom.mirror.timeout to 0 and there will be no problem with this, because even after mirror start is degraded mode new components are not rebuilt if there were no writes, but it will be good to have more general solution... --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --kRi8yh5Cr14O/OFH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBKmXxForvXbEpPzQRAu9LAJwJXCslkQCgD8rPwOxhQUe8qnEoIwCgrpFR oNncTZeHYT02DepB9AKVyUw= =5zgE -----END PGP SIGNATURE----- --kRi8yh5Cr14O/OFH--