Cpanelde kotaları güncellemek için /scripts/fixquotas kullanılır.
Bunu uyguladıktan sonra aşağıdaki gibi hata alıyor iseniz ve kotalar güncellenmiyor ise ,
root@server [/]# /scripts/fixquotas –force
Installing Default Quota Databases……Done
Linux Quota Support
Quotas are now on
Resetting quota for user23 to 1000 M
edquota: Quota file not found or has wrong format.
No filesystems with quota detected.
edquota: Quota file not found or has wrong format.
No filesystems with quota detected.
Resetting quota for user2 to 1000 M
edquota: Quota file not found or has wrong format.
No filesystems with quota detected.
Resetting quota for dates to 1000 M
Resetting quota for userq to 1000 M
edquota: Quota file not found or has wrong format.
Sırasıyla,
touch /home/quota.user
touch /home/quota.group
chmod 600 /home/quota.user
chmod 600 /home/quota.group
quotacheck -acugv
quotacheck: Cannot remount filesystem mounted on / read-only so counted values might not be right.
Please stop all programs writing to filesystem or use -m flag to force checking.
uyarısı verecektir…
quotacheck -acugvm uygulayınız.Tarama tamamlandıktan sonra ,
quotacheck: Scanning /dev/simfs [/] quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
done
quotacheck: Checked 22478 directories and 628211 files
quotacheck: Old file not found.
quotacheck: Old file not found.
işlem sonunda ” /scripts/fixquotas –-force ” uyuglayınız.
Kotalar güncellenmiş olacaktır.