I have a 4TB NFS file system that is being served from a NetApp filer. The NetApp's quota tools tell me that a certain user is using X amount of disk space in that qtree, but it isn't in "their" directory, it could be anywhere in the file system. So I have to find it so that it can be either justified or cleaned up.
I'm running a find -user command and it has been running for three days so far, and that's just the file listing -- I was planning to go back and do a du on each file to get file sizes.
Is there some tool that can do all this for me in a better way? Or an approach that will get me the information I want in an easier way? I'm hoping for something like SequoiaView on Windows, except with the ability to just show me files owned by single user.
Update: this is the command I am running:
find * -name .snapshot -prune -o -type f -user $USER -exec ls -l {} \; > /tmp/output.txt The intention is to write an awk or perl one-liner to go through this raw data and figure out where things actually are.
exec... tryfind /home/ -user username -type f -size +1048576 -printf "%s %p\n"to find all files for certain user that are larger than 1GB and output the size and full path.