My question might be confused you but honestly that very straight forward. I have a SAN with many terabytes of data. All users have their own home directory or share directory on that (And most connections handles with NFS). I am looking for a solution to, when someone left them company, I can easily find all the files belong to him and report that to his manager in order to re-assign to somebody else. Right now I am doing that by find command like: find / -user $USERNAME > /root/userfiles.txt But it is so time and resource consuming. I am thinking to a solution to index all files' metadata (like: owner) and store them into a database and when I need I just search through that list by writing a query. So my question is, ElasticSearch or other indexing tools are the good solution for my problem at all or if not do you have any suggestion? Note: I do not need to index the content of the files. ONLY file owner or UID
Thanks,