2012-09-28 11:39 AM
Most of my filers have tree-based quotas, but I have a couple that have user-based quotas. One of them is giving me problems.
I have a user that has a lot of random stuff in a "home directory" that is up against the user quota. After deleting some things, there is no change in the quota report. I suspect that the things the user has deleted are not "owned" by him and are therefore not contributing to his per-user quota.
If this were unix, I'd run a "find <space> -user <username>" to find all the files in the directory that were owned by the user. But this is CIFS. Is there some functional equivalent to doing this on windows? Maybe via powershell?
2012-10-08 11:47 AM
Do you happen to be running a 4.x or earlier version of NetApp Operations Manager? The File Storage Resources Manager capability would allow for reporting by Owner.
2012-10-08 12:08 PM
I do run that, but I'm not familiar with where that manager is.
Also, my point in doing this is to get specific file information. Is that something this manager can do?
2012-10-08 12:39 PM
The "filestats" command may also be useful. It can take a long time to run but shows file age, user and group, and busy activity times. The command points to a snapshot in a volume for processing.
filestats volume volname snapshot snapname # summary report
filestats -u volume volname snapshot snapname # file usage by user