Search Docs by Keyword

Table of Contents

Checking quota and usage

The FASRC quota command provides file system quota and usage information for all FASRC cluster storage except Cold Storage (Tape).

Basic Usage

quota <PATH>

Examples

[jharvard@holylogin08 ~]$ quota $HOME
Filesystem Size Used Avail Use% Mounted on
rcstorenfs:/ifs/rc_homes/home01 95G 23G 73G 24% /n/home01

[jharvard@holylogin08 ~]$ quota /n/acc_lab
Filesystem Size                     Used Avail Use% Mounted on
holy-nfsisilon:/ifs/rc_labs/acc_lab 8.0T 5.8T 2.3T 73% /net/holy-nfsisilon/ifs/rc_labs/acc_lab

Lab directories, netscratch, and active lab storage

For lab directories (/n/holylabs), netscratch (/n/netscratch), and active lab storage (/n/<lab_name> and other paths), usage/quota is shown for the lab group that owns the directory:

[jharvard@holylogin08 ~]$ quota /n/netscratch/mcfee_lab

Disk quotas for grp mcfee_lab (gid 40227):
Filesystem used quota files quota
/n/netscratch 328.1Mi 45.5Ti 1125 100000000

If the file system mount point is specified (e.g., /n/holylabs, /n/netscratch), your user account’s usage across the entire filesystem, in addition to your primary group’s usage/quota is shown:

[jharvard@holybioinf ~]$ quota /n/netscratch
Disk quotas for user jharvard (uid 21442):
Filesystem space quota limit grace files quota limit grace
netscratch-ib01.rc.fas.harvard.edu:/netscratch/C
11056M 0K 0K 210k 0 0

Disk quotas for grp jharvard_lab (gid 10483):
Filesystem used quota files quota
/n/netscratch 10.8Gi 45.5Ti 209615 100000000

Specifying group with -g

To display quota for a specific lab group, the -g option can be specified:

[jharvard@holybioinf ~]$ quota -g mcfee_lab /n/holylabs
Disk quotas for grp mcfee_lab (gid 40227):
Filesystem   used  quota   files     quota
/n/holylabs  8.5Gi 3.6Ti   118318 10000000

The -g <group> option is ignored for other file systems.

Limitations

  1. For lab directories and netscratch, user usage is not displayed if the FASRC `quota` command is executed from a login node
  2. For lab directories and netscratch, usage information is updated approximately every ~10 minutes (use the quota -v option to display the time of last update)
  3. For active lab storage, you must be a member of the specified lab group to list quota/usage for that group

Advanced Usage

The -v option displays the underlying command used to obtain quota info (if applicable):

[jharvard@holybioinf ~]$ quota -v /n/holylfs06
command: lfs quota -h -u jharvard /n/holylfs06
==============================================
Disk quotas for usr jharvard (uid 21442):
Filesystem used quota limit grace files quota limit grace
/n/holylfs06 0k 0k 0k - 0 0 0 -
uid 21442 is using default block quota setting
uid 21442 is using default file quota setting

command: lfs quota -h -g jharvard_lab /n/holylfs06
==================================================
Disk quotas for grp jharvard_lab (gid 10483):
Filesystem used quota limit grace files quota limit grace
/n/holylfs06 0k 20T 20T - 0 14784921 14784921 -

 

For questions, suggestions, or feature requests, please contact us.

© The President and Fellows of Harvard College
Except where otherwise noted, this content is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license.