Answered by the Webhosting Experts

Enable quotas on RedHat server with no control panel

As the root user, edit file /etc/fstab to add qualifier “usrquota” or “grpquota” to the partition you want quotas enabled for as shown below:

/dev/hda2 /home ext3 defaults,usrquota,grpquota 1 1

This enables user and group quotas support on the /home file system.

You can finish initializing quota support by simply rebooting your server. If a reboot isn’t a viable option at the moment, you can also follow the instructions listed below:

1. Remount changed filesystems

To remount a specific filesystem:
mount -o remount <filesystempath> (ex. mount -o remount /dev/hda2)

2. Create aquota.user and aquota.group for quota accounting.

To create the aquota.user and aquota.group files which keep track of quotas, run the following command:

quotacheck -vguma

This command may take awhile to run as it scans any quota enabled filesystems to build the quota accounting files.

3. Enable quota account process.

To enable the quota accounting process which keeps tabs on user/group usage activity as it occurs and updates the aquota.user and aquota.group files, run this command:

quotaon -av

Your linux filesystem(s) should now be quota-enabled.

Your linux filesystem(s) is now quota enabled.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.