On Thu, Oct 03, 2002 at 04:29:54PM -0700, Lance R Bailey wrote: | we hava a user who wants to know their user quota. the quota is set up | with: | | * user@/vol/vol1/home 7G | | but they don't know it's 7G, and it's different from project to project, | from home disk to home disk. | | if i cd into their home dir, and do a df, i see the tree quota not the | user quota | | now, they could remsh into the filer, do a quota report and grep for | their name, but we don't let users remsh into the filer :) | | are there any tools or approaches for this?
Solaris NFS clients: /usr/sbin/quota -v
BSD NFS clients: /usr/bin/quota
CIFS clients: Can't recall; I think the Windows Explorer only shows tree quota (it's been a while)
Note: you should set the `number of files' quota as well, otherwise a rogue program or user could easily chew up all the inodes on the filer without impacting their `disk usage' quota.
Luke.