Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2001 11:51:20 -0500
From:      Mark Stosberg <mark@summersault.com>
To:        David Scheidt <dscheidt@tumbolia.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: "find" and "quota" find different amounts of files (resolved)
Message-ID:  <3B17C7F4.7B6EBD28@summersault.com>
References:  <Pine.BSF.4.32L2.0105292018460.41364-100000@shell-1.enteract.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B17C7F4.7B6EBD28>