[8789] in Athena Bugs

home help back first fref pref prev next nref lref last post

Error codes when over quota

daemon@ATHENA.MIT.EDU (Richard Basch)
Wed Jan 1 08:27:32 1992

Date: Wed, 1 Jan 92 08:27:22 -0500
To: afsbugs+@transarc.com
Cc: bugs@MIT.EDU
From: "Richard Basch" <basch@MIT.EDU>


Client:	rs_aix31
Server: rt_aos4

Description:
If one attempts to write files when the volume is over quota,
applications that print out the error message associated with the
attempt will say:

	Network is down.

The problem is that the code for EDQUOT is different on rt_aos4 and
rs_aix31 systems (69 vs. 88), and apparently, the error code is being
passed as opaque data.  Actually, EDQUOT is 69 on many systems, so this
test will also work if the server is a pmax_ul4, next_mach20, or
sun4c_41 system.

Fix:
Given that there is a compatibility issue involved here, it is probably
best if both error codes are translated to EDQUOT by client systems and
future versions of the fileserver/client should have their own error
table and map error codes appropriately (of course, one may lose some of
the more obscure errors by such a mapping - even sending the real one in
addition doesn't help as most applications will not be able to utilize
this extra state).

The drawback to leaving it the way it currently is is that it is very
confusing.  I was doing an ftp at the time, so of course, I was really
misled for quite some time.  And, you know me to be far from a naive
user.

-Richard

home help back first fref pref prev next nref lref last post