On 11/10/05, John Stoffel john.stoffel@taec.toshiba.com wrote:
Jerry> .... i guess today i'm going to be adding up directory sizes Jerry> with a massive find -prune loop. (or is there a better way?)
What's I'd do is setup a quotas file for all your qtrees, but put in an empty quota. Then you turn on quotas, wait for them to initialize, and then run a quota report. Works very well.
i looked at the man page and there are no hints about how to add an empty quota. i don't want to enable quotas and suddenly put everyone in outage because i don't know the right syntax. may i ask toasters for an example command, please? i'll try it first on a less-busy qtree, and if all goes well, will do it everywhere.
btw, i received the private suggestion of running a df from inside a snapshot for counting space used. it was such a good idea i wanted to share it. of course, that's not a proper way to monitor usage on a filer, but it got my doc effort off the ground this morning. thank you, toasters. :)
...lori