kern/166840: Quotas: used block count increases but does not decrease

Johan Bergs johan.bergs at
Wed Apr 11 12:10:15 UTC 2012

>Number:         166840
>Category:       kern
>Synopsis:       Quotas: used block count increases but does not decrease
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 11 12:10:14 UTC 2012
>Originator:     Johan Bergs
>Release:        9.0-RELEASE
University of Antwerp
FreeBSD 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Mar 30 11:02:32 CEST 2012     root at  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 mailing list