From owner-freebsd-current Tue Aug 15 11:21:55 2000 Delivered-To: freebsd-current@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id 4E83037B6BD for ; Tue, 15 Aug 2000 11:21:49 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: (qmail 26209 invoked from network); 15 Aug 2000 18:21:43 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 15 Aug 2000 18:21:43 -0000 Date: Wed, 16 Aug 2000 04:21:38 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Sheldon Hearn Cc: David Kirchner , freebsd-current@FreeBSD.ORG Subject: Re: quotacheck on a live filesystem; safe? (fwd) In-Reply-To: <12974.966361584@axl.ops.uunet.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 15 Aug 2000, Sheldon Hearn wrote: > On Tue, 15 Aug 2000 08:51:27 MST, David Kirchner wrote: > > > I've been reading over source for quotacheck and ufs_quota.c and so far I > > have not found a reason why running quotacheck on a live filesystem would > > cause anything but inconsistencies in the quota.user file. > > incorrect belief? I gained the same belief in the same way when someone (Mike Tansca?) asked about running quotacheck a year or two ago. > That would certainly tie in with the last paragraph of the DESCRIPTION > section of the quotacheck(8) manual page. My version says it even more certainly :-): diff -c2 quotacheck.8~ quotacheck.8 *** quotacheck.8~ Wed Aug 16 04:02:50 2000 --- quotacheck.8 Fri Mar 3 06:08:22 2000 *************** *** 138,143 **** accesses the raw device in calculating the actual disk usage for each user. ! Thus, the filesystems ! checked should be quiescent while .Nm is running. --- 138,144 ---- accesses the raw device in calculating the actual disk usage for each user. ! Thus, mounted filesystems can be checked, ! but the results may be garbage unless the ! filesystems are quiescent while .Nm is running. I meant to commit this after checking the details. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message