So I ran into a problem that someone wanted to know how much space is used in a 25TB volume, by the first directory. Like a "du -h -d1" in Linux. Only problem is that some genius have removed inherited rights from admins. I tried cloning and sharing as NFS instead, or overwriting the rights on the cloned volume, No such luck. So I ended up writing my own "du -h -d1" command in Powershell using the NetApp.ONTAP module that exports to a csv file. But am thinking if I missed an easier way to do this than writing my own script? A tool or something. I tried to use quotas which almost worked for the user directory but will not work for other volumes. the features in the GUI only lists top 25 directories at most but i want it to show it from a specific level. Have i missed some tool or feature? 😄
#How to "du -h -d1"/dirtree with no rights?
1 messages · Page 1 of 1 (latest)
you can use a user with SeTcbPrivilege on the filer
thanks, i will check it out right away.
but make sure to remove the privilege when you're done as it will essentially bypass all ACLs on the filer and in the wrong hands can lead to ... "issues"
yep, I can see that. 😄 def. going to do it as a temp solution and remove it again, even on my admin account. 🙂 Thanks.
We use this for Rubrik backups, but I am also using it for my filer admin host that runs reports. I found a directory that it doesn't seem to work on. How can I debug why the account doesn't have access or is getting permission denied.
I noticed in that document about a 15 char limit on usernames, but was not sure if that was for pre-8.2 or not.
Ah, Turns out I had to unmount and remount the cifs share.