CAEN Knowledge Base
CAEN Knowledge Base

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 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. 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:

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 use a large amount of your AFS space 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, 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