kern/114766: [quotas] Disk quota does not work as expected

Mike Pritchard mpp at mail.mppsystems.com
Sat Mar 8 21:02:02 UTC 2008


On Sat, Mar 08, 2008 at 01:40:43PM +0100, Helmut Schneider wrote:
> From: "Mike Pritchard" <mpp at mail.mppsystems.com>
> 
> >Are you running quotacheck while there are users active, or the
> >machine is accepting mail deliveries?  Running quotacheck on
> >an active file system will generate those type of fixups, due
> >to buffered data in the kernel not being in sync with
> >the disk data at that point.
> 
> Yes, but I ran "quotacheck -va" a few minutes ago and it reported many fixups. I checked the logfiles and the last access 
> for a specific user, it was yesterday morning. I even rebooted the machine yesterday evening. Shouldn't at least a reboot 
> fix/flush all those entries?
> 
> Again:
> 
> [root at mvt ~]# cat /etc/rc.conf | grep quota
> quota_enable="YES"
> check_quotas="YES"
> [root at mvt ~]# cat /etc/fstab | grep quota
> /dev/ar0s2g             /home           ufs     rw,userquota,groupquota 2       2
> [root at mvt ~]# 

Which version of FreeBSD are you running?  There are a number of
fixes that made it into 6.3 that may solve this problem.
-- 
Mike Pritchard
mpp @ FreeBSD.org
"If tyranny and oppression come to this land, it will be in the guise
of fighting a foreign enemy."  - James Madison (1787)


More information about the freebsd-bugs mailing list