Quota Management
This page describes how to manage your disk quota on our Archival and parallel filesystems.
Determine quota usage on the HPC parallel filesystem (GPFS)#
To show how much of your quota you are using in your HPC home directory, login and run the following command:
The blocks
column represents usage, and the quota
column represents the total size of your quota.
To show how much of your quota your group is using in your purchased research allocation volume, login and run the following command:
For example, consider a group named researchlab:
Note
If you need more details or a different output format (such as bytes), you can use the
mmlsquota
command (refer to official documentation
for more info on this command)
Determine storage usage on Archival#
Currently, we are working on a solution for users to view storage usage on our Archival system. In the meantime, you can submit a support request, and we will provide this information.
Which directories or users are using the most storage space?#
Within any directory on any filesystem, you can calculate the distribution of storage space used by using the
du
command. Warning: This command can take a very long time to run, since it must read the file attributes for every
single file in a given directory tree. It is recommended you run this command as a compute job.
Quota Alerts (GPFS)#
Email alerts can be sent for directories under /gpfs/research. To set up a quota alert email you will configure a crontab entry. You can change or remove this at any time. For example, let's say the name of your directory is superduper.
First, SSH to one of the login servers. For example h22-login-24.rcc.fsu.edu . The quota alert script is /usr/local/bin/quota_alert.pl
.
Let's run that with some arguments to test it out:
Let's run it with a higher threshold:
Running these command are a good way to test the script and to figure out what threshold you want to use. Substitute your directory name and your email address. You can use more than one email address. Make sure to separate them with commas and no spaces.
The next step is to put this command into cron using the crontab command. Tutorials on crontab for Linux can be found online. This will just be a brief example workflow.
List your crontab to make sure it does not have existing entries:
Use your favorite text editor to make a file with a single line similar to the one below. Make sure to substitute your directory, alert threshold, and email address.
This sets the program to run at 10:18 every day. Use your own hour and minute that you choose.
Let's load that file into cron:
Now run the crontab list command to verify:
You will now receive email alerts any time your alert threshold is met or exceeded. This will happen once per day at the time you specified. You can edit this crontab entry at any time to change or remove it. You have full control of the quota alerts.