How to Install Quotas

  1. Home
  2. Knowledge Base
  3. Applications
  4. Quotas
  5. How to Install Quotas

About the Quota installer

Users can now directly edit their fstab to ensure a proper mount for quotas, this is especially great for those with mount points such as /mnt /media /somethingweird. So in short, QuickBox Pro now lifts the limitations seen in QuickBox Community when it comes to handling custom mount points.

Setting your primary mount point for Quotas

If you have installed QuickBox Pro using the setup binary as of v0.5.6, then you have entered your mount partition on the GUI setup. If this is the case, you can skip the next segment and move on to Example of editing your fstab from the Quota installer.

Finding your Primary Partition for mounting quotas

To find your primary partition is a simple task, from shell as sudo or root, run the command df. This will have an output such as the following:

# df
Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  7.8G     0  7.8G   0% /dev
tmpfs          tmpfs     1.6G  156M  1.4G  10% /run
/dev/md2       ext4      205G   79G  117G  41% /
tmpfs          tmpfs     7.8G  8.0K  7.8G   1% /dev/shm
tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs          tmpfs     7.8G     0  7.8G   0% /sys/fs/cgroup
/dev/md0       ext4      464M  109M  327M  26% /boot
overlay        overlay   205G   79G  117G  41%

What you are looking for is typically the drive with the most space available. In this case, it’s the /(root) mount.

Entering your Primary Partition for mounting quotas

Now that you know your primary partition, navigate to the General Settings page and locate the field titled Disk Mount. Within this field you will enter the partition for quotas to make use of. For purposes of our demo, we will enter / for the root mount.

Next, click the Submit Changes button and proceed to install quotas from your dashboard’s Application Management Center on the Apps Dashboard.

Example of editing your fstab from the Quota installer

When installing quotas, you’ll notice there is a field entered with the specific string that needs to be added…

usrjquota=aquota.user,jqfmt=vfsv1,errors=remount-ro

…thus, if you’re using Hetzner, you may see somethin like the following:

proc /proc proc defaults 0 0
/dev/md/0 none swap sw 0 0
/dev/md/1 /boot ext3 defaults 0 0
/dev/md/2 / ext4 defaults 0 0
/dev/md/3 /home ext4 defaults 0 0

In this for instance, your primary mount point is on /root. Therefore, as per the suggested string that is posted for change, you’re updated fstab field will look like the following edit:

proc /proc proc defaults 0 0
/dev/md/0 none swap sw 0 0
/dev/md/1 /boot ext3 defaults 0 0
/dev/md/2 / ext4 usrjquota=aquota.user,jqfmt=vfsv1,errors=remount-ro 0 1
/dev/md/3 /home ext4 defaults 0 0

Was this article helpful?

Guidelines

Please add bugs found in QuickBox Pro using this template:

Bug Report
Select Bug Report as the issue template

Please add feature requests for application inclusion in QuickBox Pro using this template:

Application Feature Request
Select Application Feature Request as the issue template

Please add feature requests for general QuickBox Pro using this template:

Select General Feature Request as the issue template
Select General Feature Request as the issue template

Viewing issues as well as feature requests does not require an account.

You will need to create an account on our Lab in order to post both Issues as well as Feature Requests.
You can register an account here if you do not already have one.

We look forward to your reports as well as your ideas and suggestions for ongoing developments to the QuickBox Pro software!

The QuickBox Pro Community Appreciation Day Event Sale is in full effect.
Get your savings on!
00
Days
00
Hours
00
Minutes
00
Seconds