...interesting. Seems to be working for us. Unless I missed something in your question. This is our /etc/quotas file: #Users # acosta user@atc_user 250M 50K akpede user@atc_user 250M 50K
When a user invokes 'quota -v" % whoami acosta % quota -v Disk quotas for acosta (uid ...): Filesystem usage quota limit timeleft files quota limit timeleft /tmp_mnt/net/roti/atc_user 19404 256000 256000 122 51200 51200
Client is an HP700 series @ HP-UX10.20 Server is F540 @ 4.3.1
-- Begin original message --
From: Mike Mueller Mike.Mueller@jpl.nasa.gov Date: Fri, 22 May 1998 16:00:59 -0700 Subject: User Quota Checking To: toasters@mathworks.com
We've just turned on user quotas and I am trying to figure out a way to allow users to check their current disk usage and quota limit. Since the filer is running rquotad, this would seem to be the way to go. But alas, the filer rquotad apparently wants quota [path] instead of quota [uid], just like its command line quota report. It returns "NO QUOTA" when queried via a client's quota command.
Has anyone figured out a way to allow a general user to check their disk usage and quota limits? It looks like there may be a way through the MIB, but how could this be easily made into a command line script that a user could run? Better yet, is there a way to allow the user to interact with the rquotad deamon that is already running on the filer to get their quota report? If not, why is it running?
Thanks for your insight! -- Mike
-- End original message --
Philip Thomas Motorola - ATL, M/S M350 2200 W. Broadway M350 Mesa, AZ 85202 rxjs80@email.sps.mot.com (602) 655-3678 (602) 655-2285 (fax)