Is there a way to have a list of all the files owned by a certain user
in a filesystem, and their sizes? I mean, not by traversing the
directory tree with find or similar tools, because I did already
that and it seems that there are hidden files that are not found by those
tools. I want a tool that directly iterates on the inodes of the
filesystem.
CONTEXT: I have a problem with my quota in a CentOS 7.9 server. I have
a given quota of 1100GB on a certain filesystem /share/storage and my
used space is growing permanently at a rate of 100MB per minute
(approx), even if I am not logged in the server, neither there are
processes owned by me. So I have now almost all the space
exhausted. But, if I do a $ du /share/storage/user, it reports just
556GB.
I know that there may files that are owned by me but they may live in
other directories (for instance /tmp or other directories in other
users accounts). I checked all that, and I didn't find anything.
I have checked for open files being written with lsof and I didn't find
anything neither.
So my idea is to have the list of inodes and the sizes of those files, and then compare it with the list after a certain time.
NOTES: I have root access to the server.
The server is the frontend for a HPC cluster, so the computing nodes may be writing via NFS on the filesystem. However, I checked that there are not currently processes in the computing nodes.
quotacheckon your system?