[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#3133: quota files not sparse after running quotacheck



:-> After running quotacheck, every quota file uses about 2MB of disk space
:-> 99% of which are blocks full of zero bytes.  These blocks should not be
:-> allocated on disk.  Quota files have fixed length records indexed by UID
:-> and quotacheck should just seek over records for unused UIDs without
:-> writing anything to them.

This problem is mentioned in the quota-package documentation. On modern
filesystem (like e2fs) however this is not a problem: we simply make a
hole in the file. This means that no diskspace is wasted on large amounts
of zero's. If space has been allocated and later reset to zero's you can
use the makefile-program (no idea where to find it, try ftp-search).

Wichert.


Reply to: