Figured this out, and it turns out not to be much of a NetApp question (sorry).
These are mounted via CIFS to Windows workstations for the most part. Running dir /q from the CLI at least shows me the top-level folders that aren't owned by the folder user and a fair number are owned by the IT staffer in question.
In fact, most of the folders are either owned by builtin\administrator, or some IT staffer who moved the data there in our last migration, or by no one at all ("...").
I even have a python script that walks the volumes of the home vfiler (it has several volumes, one for each division of our org). For each volume it walks the directories and checks that the owner of the directory matches the directory name. If so, nothing. If not, and the userid in question is an active AD account, it changes ownership of the directory.
The big gotcha (why that script doesn't run automatically any more) is that any changed folders will get backed up again the next time we run an incremental. If I run it for the whole filer, basically every night's incremental is a Full (and Fulls take several days).
My next step is probably to add the ability to only check certain volume(s), and schedule the script to run before each Full.
Let me know any questions, concerns or feedback,
Randy
-----Original Message----- From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Randy Rue Sent: Wednesday, July 18, 2012 11:34 AM To: toasters@teaparty.net Subject: find files owned by a particular user? (quota trouble)
Hello All,
I have an IT user who's getting quota alerts despite only having a fraction of the default quota in his actual home folder. If I run quota report on his home drive this reports correctly. However, as he was previously a Desktop Tech for another division (they have their home drives on another volume of the same vfiler), a quota report for that volume shows him as right at the limit. I'm pretty sure there are files somewhere on that other division's home volume that he is the owner of.
How can I find those files? Preferably without flipping the archive bit and needing a full backup of the whole volume?
Hope to hear from you,
Randy Rue _______________________________________________ Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters