What should I do if I am over my AFS quota? How do I check my AFS quota usage?

It is recommended to keep unnecessary files from filling up your AFS home directory (or AFS Personal Storage) in order to prevent problems logging into CAEN Linux computers and running software. Your AFS personal storage is used as your home directory on CAEN Linux computers, and when the quota is reached, data can no longer be written.

If you believe you are over your AFS quota, you can verify this by using SSH to remotely connect to a CAEN Login Service. Once logged in, type the following command to check your quota usage:

fs lq ~

You may then use the following command to determine which directories are taking up the most amount of space in your home directory (press the Space bar to scroll down the list):

du -k ~ | more

This command will list how much space, in KB, each directory is using. For example, if ~/Public contains 1000, then your Public directory is using 1 MB of space.

A couple examples of common files/directories that can use a large amount of your AFS quota include:

Google Chrome Cache
To delete all of the temporary internet files used by Google Chrome, type the following command:
rm -rf ~/.cache/google-chrome/

Mozilla Firefox Cache
To delete all of the temporary internet files used by Mozilla Firefox, type:
rm -rf ~/.cache/mozilla/firefox/

Trash
To delete all of the files in Trash, type:
rm -rf ~/.local/share/Trash
To see how much space your Trash is using type this command:
du -k ~/.local/share/Trash

Details

Article ID: 5293
Created
Tue 5/4/21 2:50 PM
Modified
Wed 10/6/21 6:06 AM