Не работает квота на VPS с ISPManager
Не работает квота на VPS с ISPManager¶
Если в логе ISPmanager видим примерно такое:
Feb 3 10:37:17 [1040:120] account ERROR Failed to set quota:
'setquota: Cannot stat() mounted device simfs: No such file or directory
setquota: Mountpoint (or device) / not found or has no quota enabled.
setquota: Not all specified mountpoints are using quota.
Проверяем, включены ли квоты для / в /etc/fstab
cat /etc/fstab mount
ln -s /simfs /usr/local/mgr5/simfs
ln -s /simfs /usr/local/ispmgr/simfs
mv /simfs /simfs_
ln -s /dev/simfs /simfs
unlink /usr/local/mgr5/simfs
ln -s /dev/simfs /usr/local/mgr5/simfs
killall core
vzctl stop $CTID
vzquota drop $CTID
vzctl start $CTID