From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 3 20:05:21 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FA7B37B401 for ; Tue, 3 Jun 2003 20:05:21 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC15743F85 for ; Tue, 3 Jun 2003 20:05:20 -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.9/8.12.3) with ESMTP id h5435EvN015369; Tue, 3 Jun 2003 20:05:14 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id h5435E2U015368; Tue, 3 Jun 2003 20:05:14 -0700 Date: Tue, 3 Jun 2003 20:05:14 -0700 From: Brooks Davis To: Sean Hamilton Message-ID: <20030604030514.GB30127@Odin.AC.HMC.Edu> References: <005001c32a43$0496e840$0300000a@antalus> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline In-Reply-To: <005001c32a43$0496e840$0300000a@antalus> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: hackers@freebsd.org Subject: Re: Quota consistency/races X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 03:05:21 -0000 --FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 03, 2003 at 07:43:01PM -0700, Sean Hamilton wrote: > What measures are in place to ensure disk quota consistency? For instance, > if a part of the filesystem changes while running quotacheck, I imagine t= hat > does not get accounted for. There are none, don't do that if it matters. In practice, it usually doesn't matter much. We run quotacheck in multiuser mode on one Linux system I admin without major issues. > Wouldn't somebody have trouble enabling quotas on a busy filesystem? The > quota file would always lag behind the actual filesystem, and one cannot > mount read-only because quotacheck must write the quota file. You can use the check_quotas rc.conf variable to check your quotas at boot time. In general, doing this the first time and then turning it back off is the best policy since it delays startup significantly. -- 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 --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+3WHoXY6L6fI4GtQRAircAKCWyijAwCrrNjd3ZaP2QOPOapngXgCg2Ce9 EMVYbLWnJFCtG/e8qyKwnps= =9NVb -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW--