How to find QUOTA
To check your quota, use the quota -v command. This shows the disk
usage and limits on attached lockers you maintain (i.e., have write
access to).
The quota -v command returns:
o name of the filesystem
o type of filesystem (volume for AFS lockers)
o usage (how much disk space is being used)
o quota (how much disk space is allotted)
o limit (same as quota - there is no distinct soft and hard quota
limit as there was under NFS)
o other column headings in the output which aren't relevant in
the AFS scheme
o a warning if you are using more than 90% of your quota
To find the quota for a specific locker (which must be attached), use
the -f option with the filesystem path, as in:
quota -v -f /mit/lockername
For example:
athena% quota -v -f /mit/jruser
Disk quotas for jruser (uid 4863):
Filesystem usage quota limit files quota limit
/mit/jruser 22852 1000000 1000000
All units listed are in kilobytes, so in this example, jruser has used
about 23 MB of his 1 GB quota.
Note that, under AFS, quota is assigned by volume (usually the same as
locker), and applies to the files in the volume regardless of who owns
or writes them. So, if you give someone write access in a directory in
your locker, any files they create there count toward your quota.
(Under NFS, users had to have individual quotas on fileservers to be
able to write in a locker on that fileserver.)
If you use the du command in your home directory to check disk usage,
remember that the du command includes the ~/OldFiles directory (quota
does not). Thus, du shows you about twice as much usage as you're
actually using (since ~/OldFiles is essentially a duplicate of your
locker).
You can also choose to use fs listquota (fs lq) to check the quota for
an AFS locker, which may be useful since it also displays the
percentage of your quota that you are using:
athena% fs lq
Volume Name Quota Used %Used Partition
user.jruser 1000000 22852 2% 81%
As before, the numbers are listed in kilobytes, so here, jruser has
used about 23 MB of his 1 GB quota, which is 2%.
The partition column shows what percentage of the disk space has been
used on the partition your volume is on; it is not relevant to your
quota.
Last updated: $Date: 2006/02/18 01:18:19 $
|