// Show Quota
The HOME and NOBACKUP file systems are controlled by quotas. To determine your resource usage and how it compares to your quota, run the showquota command.
*Use “showquota -h” to display your Discover quota with units (GB, MB, etc.).
The -f option will also show the fileset name, and the -g option will show group ownership.
$ showquota -hf
Block Limits | File Limits
Filesystem type block quota limit grace | files quota limit grace
------------------------------------------------+-------------------------------------------------
dhome USR 2.895G 4G 4.2G none | 31272 0 0 none
dnb31 USR 784.3G 2T 2.5T none | 109872 100000 150000 3hours
------------------------------------------------+-------------------------------------------------
Project quotas: |
--------------- |
/discover/nobackup/projects/projectname | dnb41_projectname
dnb41 FILESET 41.76T 45T 45T none | 570171 1000000 1000000 none
------------------------------------------------+-------------------------------------------------
The output of this command is split into two tables. The left hand side of the table shows the Disk Space:
Filesystem | type | block | quota | limit | grace |
---|---|---|---|---|---|
dhome | USR | 2.895G | 4G | 4.2G | none |
dnb31 | USR | 784.3G | 2T | 2.5T | none |
The block column indicates the amount of storage used. Quota is the soft limit, and limit is the hard limit. Soft limits provide an opportunity to clean up space before the hard limit is enforced when the grace period expires.
In the example above "dhome" (the user's $HOME) has a soft limit of 4G and a hard limit of 4.3G. There are 2.895G currently in use by the user.
Similarly, the quota for the user in file system "dnb31" (the user's $NOBACKUP; "dnb" stands for "Discover No Backup") is set to a soft limit of 2T, with a slightly higher hard limit. As soon as the user exceeds the soft limit, the grace period (total 7 days) countdown starts.
NOTE: The grace column would indicate how much time the user has to bring down the usage to below the soft limit. If the user fails to do so within this time, the soft limit becomes the hard limit, and the user would no longer be able to write to their space, unless they bring it down below their soft limit.
Right hand side of the table shows the File Limit:
file | quota | limit | grace |
---|---|---|---|
31272 | 0 | 0 | none |
109872 | 100000 | 150000 | 3hours |
In the box showing the right hand side of the quota output, there are 31272 files currently allocated to the user's "dhome" but no soft or hard limit for file numbers (inodes) is enforced in $HOME. Under the nobackup fileset, however, the soft limit for files (inodes) is 100,000 and hard limit is 150,000. A grace period appears because the user has exceeded the quota. The user has 3 hours left to bring usage below the 100,000 inode value. If the user fails to do so, the user would no longer be able to write to their space, unless they bring it down below their soft limit.
To show the total usage of your current working directory: $ du -hs .
If you need more storage than the limits imposed by quotas, please contact NCCS support. Indicate how much more space you will require, where the increase is required (e.g. $NOBACKUP, $ARCHIVE, $HOME), and an explanation for the request.
IMPORTANT NOTE: Users are reminded to always reference any project
or nobackup directories via their full generic pathnames:
/discover/nobackup/projects/projectname
/discover/nobackup/userid ( or $NOBACKUP ).
Users should never use a path beginning with /gpfsm/dnb##/... to reference
these directories as those paths can, and will, change as the NCCS makes
changes to the underlying storage subsystems. Please ensure all references
to these directories are correct in your batch scripts, interactive scripts,
and in your crontab entries.