If you are receiving the following error when trying to enable quotas in WHM:
Then try to enable quotas, if the error is still occurring you may need to edit your fstab file, this can be tricky. First you will need to run:
or
Then you will need to locate where your directories are mounted on. For example, if you have this line:
You will need to replace it with:
You should now reboot your system and once booted go into WHM and click Enable Quotas or run:
via SSH.
You should first try doing both of the following via SSH:quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option
Code:
[B][COLOR=SeaGreen]/scripts/fixquotas[/COLOR]
[COLOR=RoyalBlue]/scripts/fixcommonproblems[/COLOR][/B]
Code:
[B][COLOR=SeaGreen]nano /etc/fstab[/COLOR][/B]
Code:
[B][COLOR=RoyalBlue]vi /etc/fstab[/COLOR][/B]
Code:
[B][COLOR=SeaGreen]/dev/mapper/vg-root / ext4 discard,noatime 1 1[/COLOR][/B]
Code:
[B][COLOR=RoyalBlue]/dev/mapper/vg-root / ext4 discard,noatime,usrquota 1 1[/COLOR][/B]
Code:
[B][COLOR=SeaGreen]/scripts/fixquotas[/COLOR][/B]