Web tool
For a quick overview, you can see your quotas in the SCU Storage Tracker. The data displayed there is update multiple times daily.
Scripts
For more detailed information and user management, several GPFS wrapper scripts exist on all /athena nodes to help viewing and managing user quotas.
All of these scripts exist on /usr/local/bin
.
myquota
Run this script from any working directory to display your overall fileset usage:
[user@aphrodite ~]$ myquota This script checks your GPFS fileset usage and prints SCU-managed fileset quotas. It will also print user-level quotas within filesets if they exist. For assistance contact doug@med.cornell.edu or scu@med.cornell.edu. Checking fileset usage and quota for user masonlab_curate on filesystem athena: | masonlab_scratch | 225T | 131G | |--------------------+--------+--------| | f | f | m | | i | i | y | | l | l | u | | e | e | s | | s | s | a | | e | e | g | | t | t | e | | | q | | | | u | | | | o | | | | t | | | | a | |
showquotas.py
PI-designated power users can run this script showing all user-level quotas within a given fileset:
[masonlab_curate@aphrodite ~]$ sudo python3.6 /usr/local/bin/showquotas.py masonlab_scratch This script reports user-level quotas on filesets. For help contact doug@med.cornell.edu or scu@med.cornell.edu. Valid filset chosen Checking fileset masonlab_scratch Block Limits | File Limits Name fileset type blocks quota limit in_doubt grace | files quota limit in_doubt grace fake_user masonlab_scratch USR 128K 0 0 0 none | 4 0 0 0 none
changequota.py
PI-designated power users can run this script to set user-level quotas within a given fileset:
[user@aphrodite ~]$ sudo python3.6 /usr/local/bin/changequota.py user athena masonlab_scratch 0 This script allows authorized power users to change user-level GPFS quotas within SCU-managed filesets. For assistance contact doug@med.cornell.edu or scu@med.cornell.edu. Valid filset chosen Changing for user on fileset masonlab_scratch by 0T
newgpfsdir.py
PI-designated power users can run this script to create directories on the GPFS file system in locations previously managed by the SCU:
[user@aphrodite ~]$ sudo python3.6 /usr/local/bin/newgpfsdir.py /athena/lab/scratch/users test12345 owner group This script allows authorized power users to create new directories under GPFS filesystems managed by the SCU. For assistance contact doug@med.cornell.edu or scu@med.cornell.edu. Valid path chosen Creating new directory test12345 at location /athena/lab/scratch/users New directory created
Related articles