From owner-freebsd-performance@FreeBSD.ORG Fri Jun 4 15:22:44 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0977316A4CE; Fri, 4 Jun 2004 15:22:44 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id B35FE43D49; Fri, 4 Jun 2004 15:22:43 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.10) with ESMTP id i54MMWSK027274; Fri, 4 Jun 2004 15:22:32 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i54MMWqE027271; Fri, 4 Jun 2004 15:22:32 -0700 Date: Fri, 4 Jun 2004 15:22:32 -0700 From: Brooks Davis To: "J.D. Bronson" Message-ID: <20040604222232.GB25234@Odin.AC.HMC.Edu> References: <6.1.1.1.2.20040604170255.00bf3b38@cheyenne.wixb.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline In-Reply-To: <6.1.1.1.2.20040604170255.00bf3b38@cheyenne.wixb.com> User-Agent: Mutt/1.5.4i cc: freebsd-performance@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: more on fsck with securelevel X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 22:22:44 -0000 --eJnRUKwClWJh1Khz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 04, 2004 at 05:05:34PM -0500, J.D. Bronson wrote: > I did set this in /etc/rc.conf: > fsck_y_enable=3D"YES" >=20 > But I was wondering if this might be a good idea too: > (looking at the defaults) >=20 > fsck_y_enable=3D"NO" # Set to YES to do fsck -y if the initial preen= =20 > fails. > background_fsck=3D"YES" # Attempt to run fsck in the background where= =20 > possible. > background_fsck_delay=3D"60" # Time to wait (seconds) before starting the= =20 > fsck. >=20 > ..might it not be prudent to set 'background_fsck=3D"NO"' when running in= =20 > secure mode? >=20 > Eventhough I shut down carefully, sometimes it still feels the need to ru= n=20 > fsck (even with soft updates)...but when running securelevel, is it=20 > actually going to accomplish anything? I think just setting background_fsck_delay=3D0 may allow bgfsck to work. Once fsck has opened the FS, I think it should keep it open and writes should work. I'm not 100% sure of that though. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --eJnRUKwClWJh1Khz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAwPYnXY6L6fI4GtQRAt16AKC5TTVlz+oklnD4Mk2YIKe5b2T4wgCgsuZY Nf08dEIFqZfEwTlI/y/uwjI= =WFkV -----END PGP SIGNATURE----- --eJnRUKwClWJh1Khz--