Guides and Tutorials
Create a quota
In this tutorial, you’ll use the QF2 dashboard to create a quota. Quotas allocate specific amounts of storage to specific directories. Quotas in QF2 Core are dynamically updated and take effect immediately. They can be applied to any directory, even nested ones. If there is more than one quota because of nested directories, all quotas must be satisfied in order to allocate the requested space.
Quotas are enforced in real time. If a directory fills to the limit of a quota (or a quota is applied to an existing directory with more data than is allowed by the quota) no additional data can be written to the directory.
- Log in to your cluster as admin.
- The dashboard appears.
- Point to Sharing and then click Quotas from the drop-down list.
- The Quota page opens.Under Quotas are two bar graphs that give you information about the cluster and quotas. The top graph shows the amount of storage in the cluster that’s already been used and what percentage of usable storage is available.The bottom graph shows the amount of storage that’s been used in quotas and what percentage that is of the total percentage of storage provisioned for quotas.
The Quotas Used calculation is the sum of used capacity across all quotas. The Quotas Provisioned calculation is the sum of all quota limits.
When the parent directory of a quota also has a quota provisioned, only the parent quota is included in the calculation.
Under the bar graphs is a list of the currently provisioned quotas.
In this procedure, you create a quote through the dashboard. You should still be on the Quotas page.
- Click Create Quota.
- The Create Quota dialog box opens.
- Enter the directory path where you will apply the quota. The directory must already exist.
- Enter the size of the quota and, if necessary, select the unit, either gigabyte(GB), terabyte(TB) or petabyte(PB).In this example, a 1GB quota will be created on the directoy /testdata/a.
- Click Save.
- The quota appears on the list of provisioned quotas.
When a directory exceeds its quota, it turns red.
In this example, /testdata/a is using 2.12GB of storage, which exceeds the 2.00GB limit. No more data can be written to this directory. You must either move or delete data to bring the directory back into compliance.
Once the data is gone from the directory, its name is displayed normally.
Remember, QF2 gives you real-time visibility and control over your file system. You are seeing the current state of the system.
You can edit a quota by changing its size.
- On the Quotas main page, click the pencil icon next to the directory whose quota you want to change.
- The Edit Quota dialog opens.
- Change the size of the quota.
- Click Save to save the change or click Cancel to discard it.
You can delete a quota on a directory.
- On the Quotas main page, click the trashcan icon next to the directory whose quota you want to delete.
- You will be asked to confirm the deletion.
- Click Yes, Delete to confirm the deletion or click Cancel to keep the quota.
Kristi Whitman is a Digital Marketing Engineer at Qumulo. A former front-end web developer, she now specializes in optimizing digital properties to support marketing lead generation.