Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 17:56:22 -0700 (PDT)
From:      Mark Hartley <mark@work.drapple.com>
To:        Daniel Brown <djb@unixan.com>
Cc:        questions@FreeBSD.ORG, stable@FreeBSD.ORG, Holtor <holtor@yahoo.com>
Subject:   Re: Quota Reporting Errors
Message-ID:  <XFMail.011026175622.mark@work.drapple.com>
In-Reply-To: <20011026170141.3c6b5ccf.djb@unixan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27-Oct-01 Daniel Brown wrote:
> Add:
> 
> check_quotas="YES"
> 
> to your /etc/rc.conf file, then reboot.  Your machine should take a few
> more minutes to reboot, but should result in an exact fixing of all user
> quota.


A better, and less disruptive solution is to simply run:

/sbin/quotacheck /usr

To have it rebuild the quota file for the /usr volume.



Mark.



> 
> If that doesn't solve your issue, then quite likely your user really is
> using more than they should, but in places you're not expecting them to
> place their files.  Try:
> 
> find /usr -user <username>
> 
> and make sure that you account for each and every file produced by that
> list.  If you find files in places you weren't expecting them, then you
> have your answer.
> 
>       -Daniel
> 
> ------------ Quoted Message ------------
> Date...: Fri, 26 Oct 2001 16:28:17 -0700 (PDT)
> From...: Holtor <holtor@yahoo.com>
> To.....: questions@FreeBSD.ORG
> CC.....: 
> Subject: Quota Reporting Errors
> 
> Hello Everyone,
> 
> We seem to be having a strange quota problem on one
> of our web hosting servers. Quota is reporting
> that a user is over their quota on /usr but they
> most certantly are not.
> 
> It appears as if the quota file itself for our
> /usr partition has gotten corrupted somehow.
> 
> If it is removed and then regenerated quota then
> reports usage correctly.
> 
> The only problem with that is that we'd need to
> restore
> quotas for hundreds of users which is no easy task.
> 
> Has anyone run into this problem? bug? Are there any
> simple fixes?
> 
> TIA
> 
> Holt
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011026175622.mark>