Quota: Difference between revisions
Line 27: | Line 27: | ||
<pre> | <pre> | ||
$ df ~ | $ df ~ | ||
Filesystem | Filesystem 1K-blocks Used Available Use% Mounted on | ||
data.isilon.umiacs.umd.edu:/ifs/umiacs/homes/gabija 5138048 32 5138016 1% /nfshomes/gabija | |||
</pre> | </pre> |
Revision as of 21:27, 5 January 2021
RPC Quotas
File systems that support RPC quotad quotas are reported to the user by the quota command. Home directories that are mounted from our Dell FluidFS NAS will support these kinds of quotas.
To find out what your current quota is, first run df . to find out what file system you are currently mounted from (in this example it is data.isilon.umiacs.umd.edu:/ifs/umiacs/homes/gabija). Please note that the Use% here is for the entire file system and not your user-specific home directory.
# df . Filesystem 1K-blocks Used Available Use% Mounted on data.isilon.umiacs.umd.edu:/ifs/umiacs/homes/gabija 5138048 32 5138016 1% /nfshomes/gabija
Then run quota and that line will list your quota information for that file system. If you see errors such as "Error while getting quota from ..." you may safely ignore these as some of our file systems such as Gluster do not report quotas correctly.
$ quota Disk quotas for user gabija (uid 16912): Filesystem blocks quota limit grace files quota limit grace data.isilon.umiacs.umd.edu:/ifs/umiacs/homes/gabija 24 5138024 5242880 10 10276045 10485760
If you have hit your RPC quota and haven't realized it, you may see some strange issues. For example, you will not be able to write-out files (although 'touch' and file concatenation will succeed). Some applications such as vi will throw "FSync" errors. Similarly, commands such as wget will appear to succeed but your files will be zero-length.
Tree Quotas
An alternate style of quota management is done through tree quotas that show up in how much space is available in the file system by using the df command to inspect either the current path (no arguments given) or a given path.
For example to show my /nfshomes/derektest home directory quota i can just use df ~
$ df ~ Filesystem 1K-blocks Used Available Use% Mounted on data.isilon.umiacs.umd.edu:/ifs/umiacs/homes/gabija 5138048 32 5138016 1% /nfshomes/gabija