Enabling disk quotas
Enabling disk quotas in ISPmanager
To enable disk quotas in ISPmanager, browse to the "Software" module and install or activate (if it is already installed) the packet "Disk quotas".
- If you run Linux systems, the quota packet will be installed
- If you run FreeBSD, the quotas must be enabled in the kernel (in GENERIC has it enabled by default)
- activate required options in /etc/fstab нужные опции
- re-mount /
- start quotacheck on /
- enable quotaon on /
Once you are done, users will see the "Disk" column in the interface menu and you will be able to set disk limit per each user (ISPmanager calculates quota every 10 minutes)
Enabling disk quotas manually
If ISPmanager failed to enable disk quotas, you should:
Check mounting options
Execute the commandmount | grep 'on / '
It will show mounting options for file system's root. They must include
- FreeBSDwith quotas
If quotas are not enabled, add the options into /etc/fstab like that:
- LinuxUUID=<тут UUID> / ext4 defaults,grpquota,usrquota 1 1
- FreeBSD/dev/gpt/rootfs / ufs rw,groupquota,userquota 1 1
Re-mount the root with the command
- Linuxmount -o remount /
- FreeBSDmount /
Creating files for quota
- Linuxquotacheck -gum /
- FreeBSDquotacheck -gu /
Execute the commandquotaon -guv /
On FreeBSD you must also add the following into /etc/rc.confenable_quotas="YES"
Was this answer helpful?
In this module you can manage a wide range of server applications available to you and...
DNSmanager is a DNS slave server management system. It can be used both as a stand-alone...
Introduction Migration from ISPmanager 4 is supported only on Unix-based operating systems. The...
Installation of IPmanager consists of two steps: installation of COREmanager v.5 (the software...
This module can be used you to manage the backup plans to save your server data from an accident...