From owner-freebsd-hackers Fri Jun 1 9:51: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from summersault.com (nollie.summersault.com [208.196.32.199]) by hub.freebsd.org (Postfix) with SMTP id 0337337B424 for ; Fri, 1 Jun 2001 09:51:02 -0700 (PDT) (envelope-from mark@summersault.com) Received: (qmail 1124 invoked from network); 1 Jun 2001 16:50:58 -0000 Received: from hoobella.summersault.com (HELO summersault.com) (208.196.32.195) by nollie.summersault.com with SMTP; 1 Jun 2001 16:50:58 -0000 Message-ID: <3B17C7F4.7B6EBD28@summersault.com> Date: Fri, 01 Jun 2001 11:51:20 -0500 From: Mark Stosberg Reply-To: mark@summersault.com Organization: Summersault X-Mailer: Mozilla 4.77C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; U; PPC) X-Accept-Language: en,pdf MIME-Version: 1.0 To: David Scheidt Cc: freebsd-hackers@freebsd.org Subject: Re: "find" and "quota" find different amounts of files (resolved) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Scheidt wrote: > > :So "find" is reporting 2435 files, but "quota" is reporting 2537. Where > :could the difference be hiding? > : > These should match. Two things pop into my head as first possibilities. > First, you have a race. find(1) and quota(1) are looking at the disk at > different times. It's possible that the files got created in the time > between find looking at a directory and when quota is run. Whether that's > likely will depend on what the machine and the user are doing. > > If it's consistently like this, then maybe your quota file is corrupt. > Are you running quotacheck(8) at startup? I believe the rc.conf flag > for that is "check_quotas". If you can afford to take the machine down, > run quotacheck and see it fixes the problem. David, Your suggestion helped us resolve this. Running quotacheck again seemed to do the trick. Thanks for the tip! -mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message