finding directories that consume a lot of the AFS volume quota

view story

http://serverfault.com – The AFS volume quota is almost exceeded for one of our computer users. Running fs listquota or fs lq gives him a warning: olifri@ubuntu:~$ fs listquota ~ Volume Name Quota Used %Used Partition H.olifri 500000 492787 99%<< 38% <<WARNING I would like to share with him a shell script that would detect which of his directories consume most of his AFS volume quota. He would then have a better idea of where to start deleting files. Note that in the AFS filesystem a user can mount other AFS volumes inside an AFS volume. This (HowTos)