Manny.Kaiser@motorola.com writes:
I ran the du -sk command once as root and once as an ordinary user. The results differed by several fold.
Is this in Solaris 2+ or a similar SVR4-derived Unix? If so, the probable explanation is that there were directories unreadable by the "ordinary user" in the tree. du(1m) just leaves them out without a murmur unless you specify the -r option. Which, therefore, you should always do. Who was responsible for this lamebrained specification would be interesting to know... [it wasn't like that in SunOS4].
Is the reason that when running du as root the snapshots are calculated as well?
Not unless some snapshot directories are only-root-readable. Anwyay, the way to find out is to leave out the -s option and see what's being added up, surely?
Running the quota report I see the same result as when the user executed the du command.
What sort of quota: qtree or uid? If the latter, then perhaps the parts of the directory tree unreadable by the "ordinary user" are also not owned by her?
Chris Thompson University of Cambridge Computing Service, Email: cet1@ucs.cam.ac.uk New Museums Site, Cambridge CB2 3QG, Phone: +44 1223 334715 United Kingdom.