Quotaのチェック方法

まずはquotacheckで、ファイルシステムをスキャンしディスク使用量を調べる。

quotacheck -a

以下のようなエラーが出る場合は、

quotacheck: Quota for users is enabled on mountpoint /var so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.

quotaを一度オフにしてから計算を行うと良い。

quotaoff -av
quotacheck -a
quotaon -av

repquotaでquotaを表示する。

repquota -a