Your user quota (home directory - /user/<username>): 

kinit

iquota -u 




Your group's quota (output will show all groups you are a member of): 


kinit

iquota -g




Or both user and group:

kinit

iquota -u -g




iquota usage:


The iquota command has much more built into it than former versions.  Use iquota -h to see all the options.  

 

NOTE: You will need to get a kerberos key before running the command, with:  kinit

 

NAME:

   iquota - displays users' disk usage and limits. By default only the user quotas are printed.

 

USAGE:

   iquota [global options] command [command options] [arguments...]

 

VERSION:

   0.0.2

 

AUTHOR(S):

   Andrew E. Bruno <aebruno2@buffalo.edu>

 

COMMANDS:

   help, hShows a list of commands or help for one command

 

GLOBAL OPTIONS:

   --conf, -c Path to conf file

   --debug, -dPrint debug messages

   --verbose, -vwill display quotas on all mounted filesystems

   --long, -ldisplay long listing

   --full-pathshow full path for nfs mounts

   --group, -gPrint group quotas for the group of which the user is a member

   --user, -uPrint user quota

   --show-defaultPrint default quota

   --export-over-quota, -xExport all user/groups that are over quota

   --show-user Print user quota for specified user (super-user only)

   --show-group Print group quota for specified group

   -f, --filesystem report quotas only for filesystems specified on command line

   --help, -hshow help



How to check quota for budget storage directories




Do you have two-factor authentication enabled?

There is a known bug in the Red Hat authentication system that prevents the usage of kinit.  Until this is resolved, users with two-factor authentication enabled are unable to use the iquota commands.  We are in the process of building this information into Coldfront.  In the meantime, please submit a help ticket and a CCR staff member will provide quota information for you.  Thank you for your patience!




Calculating disk usage at the linux command line:


Knowing your quota and how much of it you've used is helpful, but often we want to know where the disk usage is actually taking place.  You can run this command to calculate the total size of each sub-directory and then sort it from smallest to largest.  You will only be able to run this where you have permission to read files.  So it's appropriate to run in your home directory:  /user/[ubit_username] or your group's project directory.


du -sh * |sort -rn