Red Hat Bugzilla – Bug 842772
quotacheck is broken with gfs2
Last modified: 2012-08-06 17:29:30 EDT
Description of problem:
With recent rhel6 bits, (kernel-2.6.32-279.el6.x86_64, quota-3.17-16.el6.x86_64) quotacheck fails with the following message:
[root@smoke-01 ~]# quotacheck -c -v -u /tmp/tmp.rOhWilMkyT/tmp.BLFbVAKjMr/
quotacheck: Scanning /dev/loop0 [/tmp/tmp.rOhWilMkyT/tmp.BLFbVAKjMr] done
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Old group file not found. Usage will not be substracted.
quotacheck: Checked 2 directories and 0 files
This problem is also upstream and in rhel7.
Upon further testing, it looks like these messages are debug messages that show up with -v. While they don't apply to gfs2 and should probably be cleaned up so as to not confuse the user, quotacheck actually works properly. When used w/o the -v option, it silently updates the quota file with any changes.