Question
I have added a drive for /backups, and quotas are enabled for it. Now many of my accounts are over quota. How do I disable quotas so that the backups aren't counted towards my user's quotas?
Answer
Follow these steps to disable quotas on your /backup partition:
- Turn quotas off for /backup:
quotaoff -v /backup
- Edit /etc/fstab to remove turning on quotas at boot. If you are using user quotas on ext4, you will start with a line similar to this:
/backup ext4 usrjquota=quota.user,jqfmt=vfsv1 1 2
and remove the references to quotas, so that it looks similar to this:/backup ext4 jqfmt=vfsv1 1 2
- Reboot the server. If you do not wish to reboot the server, you may remount the /backup partition with a command like this:
mount -o remount /backup
Please note that if the /backup isn't configured for cPanel backups or if the cPanel backups are disabled, the "/usr/local/cpanel/scripts/fixquotas" script will enable quotas again.
We have additional documentation for this task here:
How to Disable Filesystem Quotas
Note
Please note that disabling quotas on any partition, including the backup partition, is a systems administration task.
If you encounter an error or are unsure how to proceed, you may benefit from contacting a system administrator for further investigation. If you do not have such an administrator, you may search for one in our listings here:
Please note, however, that cPanel, LLC does not endorse or recommend any particular provider on that list, nor can we be held liable for any services performed by third-party providers, including those on the list.
Comments
0 comments
Article is closed for comments.