Checking User Quotas

NFS File Systems mounted from Blizzard

Note: You must run these commands on blizzard

File System

Description

Quota

Command

/fs/blizzard/home

DASG staff home directories

no quotas

 

/fs/home

User home directories

500MB default

sudo /usr/sbin/repquota /fs/home -u username

GPFS File Systems

Note: You may run these commands from any server

File System

Description

Quota

Command

/ptmp

DASG temporary work space

150GB default

sudo mmlsquota -u username /dev/gpfs_dasg_ptmp

Setting Quotas

The quick and easy way to set the default quotas for a new user is to use the user jam as a template:

/fs/home

  • Login to blizzard
  • Run "sudo edquota username -p jam"

/ptmp

  • Login to gale, breeze, or a storm
  • Run "sudo edquota username -p jam"

/fs/home

The /fs/home quota can only be edited from blizzard.

  • Login to Blizzard
  • Run "sudo edquota username"
  • A vi session will open that looks like:
    Disk quotas for user jam (uid 1400):
      Filesystem                   blocks       soft       hard     inodes     soft     hard
      /dev/cciss/c0d0p9                 4          0     500000          1        0        0
    
  • The default quota for user home directories is 500MB, set the number of blocks to 500000.
  • Save and exit

/ptmp

The /ptmp quotas can be edited from any system that mounts /ptmp over CXFS (not blizzard).

  • Login to gale (for example)
  • Run "sudo edquota username"
  • A vi session will open that looks like:
    Disk quotas for user jam (uid 1400):
      Filesystem                   blocks       soft       hard     inodes     soft     hard
      /dev/cxvm/ptmp              6128136          0  150000000          4        0        0
    
  • The default quota for ptmp is 150GB, set the number of blocks to 150000000
  • Save and exit

Viewing Quotas

  • Run "sudo quota username" for a specific user on any system (I don't know why this works everywhere but repquota doesn't)
  • Run "sudo repquota -v /fs/home" on blizzard only to show /fs/home usage for all users
  • Run "sudo repquota -v /ptmp" on a CXFS client to show /ptmp usage for all users

User Quota Requests

user

original

increase

Time Limit

klindsay

150 GB

500 GB

none

pduffy

300 GB

500 GB

24 Aug 08

fenghe

150 GB

500GB

25 Oct 08

pduffy

150 GB

500 GB

26 Sep 08

  • No labels