Quota exceeded warnings not working over NFS

From: Ivan Fetch (sunmanagers@cs.du.edu)
Date: Wed May 07 2003 - 11:35:06 EDT


Hello Sun Managers,

   I posted a question earlier about notifications of exceeding soft
quotas not working for NFS clients (see my initial post below). Today I
called Sun just to see what they had to say, and the responce was to look
at bug 1004365. This bug states:

"If one implements quota in a server-client environment,
the client is not warned when he goes over quota on his first write, only
on later writes."

   There are no notifications of going over limit until I go over my hard
limit, even if (as the bug seems to imply) I keep saving to the mount in
question after I've initially gone over my soft limit. Interesting enough
the quota command works just fine on NFS clients (indicating when I've
exceeded soft and hard limits).

   As it would be nice for users to have a warning when they're exceeding
their diskspace, instead of "discovering" they're out of disk space when
they can no longer save anything else to their home directory, or not even
login to CDE, does anyone have "over quota" soft limit notifications over
NFS working, or another solution that's more user friendly?

Thanks for your help,
Ivan Fetch.

----- initial post -----

Date: Thu, 24 Apr 2003 10:46:38 -0600 (MDT)
From: Ivan Fetch <sunmanagers@cs.du.edu>
To: sunmanagers@sunmanagers.org
Subject: Quota exceeded warnings not working over NFS

Hello all,
   I'm about to implement quotas and was doing some testing over NFS when
I discovered the following: When logged into the server (where the file
systems are local) you get warnings when exceeding your soft limit as
advertised. When logged into another machine where that same file system
is shared over NFS, you do not get warnings when exceeding your soft
limit. I can use the quota command on the NFS client machine to see that
I'm over my soft limit, however the warnings are not displayed *while I'm
exceeding the limit*. IF I exceed my hard limit on the client, I do get
an error message and am denied writing to the file system as expected.

   I have rquotad running out of inetd on the server and the client, and
I've set the automounter so that the file system mounted over NFS includes the quota
option - the exact line is:
home1 -rw,nosuid,grpid,quota,proto=tcp servername:/a/&

   Both the server and the client are running Solaris 9, the server is
Generic_112233-02 and the client is running 233-04.

   What am I missing???

Thanks as always, and I will of course summarize.

Ivan Fetch.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:21 EDT