kern/166840: Quotas: used block count increases but does not
johan.bergs at gmail.com
Wed Apr 11 12:10:15 UTC 2012
>Synopsis: Quotas: used block count increases but does not decrease
>Arrival-Date: Wed Apr 11 12:10:14 UTC 2012
>Originator: Johan Bergs
University of Antwerp
FreeBSD euterpe.cmi.ua.ac.be 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Mar 30 11:02:32 CEST 2012 root at euterpe.cmi.ua.ac.be:/usr/obj/usr/src/sys/PATS amd64
We have user quotas enabled on an amd64 system. The filesystem that has quotas enabled is mounted using the following options: (ufs, NFS exported, local, with quotas, journaled soft-updates)
When we check the user quotas using repquota, we can see all user quota. If a user adds new files to the filesystem, repquota does indeed reflect this: the used block count goes up. However, if a user deletes files, the used block count does not go down.
Running quotacheck recalculates the used block count, but afterwards the situation remains the same: used block count can increase, but does not decrease.
The system has recently been upgraded from FreeBSD 8.2. Quotas were working fine when running 8.2.
Enable quotas on a FreeBSD 9.0 system, on a partition with soft updates and soft update journaling enabled. Create files and the used block count increases. Delete some files and the used block count remains the same.
More information about the freebsd-bugs