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

NOTE: Starting Fall 2022, the home directories on CAEN Linux computers will move from AFS to CAEN Home Directories.


It is recommended to keep unnecessary files from filling up your AFS Personal Storage. 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 the ITS Login Service (login.itd.umich.edu). Once logged in, type the following command to check your total AFS quota usage:

fs lq ~

You may then use the following command to list how much space each directory is using, and determine which directories are taking up the most amount of you quota (press the Space bar to scroll down the list as needed):

du -h ~/ | more

Going a step further, the following command will list the usage for all directories and files, including hidden (e.g. dotfiles), and sort them based on size:

du -sh ~/* ~/.[!.]* | sort -h

A couple examples of common 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 -h ~/.local/share/Trash

Details

Article ID: 5293
Created
Tue 5/4/21 2:50 PM
Modified
Mon 8/29/22 11:47 AM