[OpenAFS] odd error

Derrick J Brashear shadow@dementia.org
Thu, 22 Feb 2007 10:03:12 -0500 (EST)


On Thu, 22 Feb 2007, Steve Devine wrote:

> Anyone ever see this?
> I can move a small file <1Meg of but a larger one like this 19Meg file
> testfile.tes gives me the error below.
> I have tried this on several clients it seems to be exclusive to the
> volume. the Volume has lots of space and quota.
> ************************************************
> cp /export/home/sdevine/testfile2.tes ./
> afs: failed to store file (144)
> cp: ./testfile2.tes: write: Too many references: cannot splice
> *******************************************

What platform are the client and the server? I'm guessing it's an error 
translation bug.

Offhand, I'd guess the error you actually got was EIO.

--- afsfileprocs.c      26 Sep 2006 02:13:17 -0000      1.81.2.37
+++ afsfileprocs.c      22 Feb 2007 15:03:06 -0000
@@ -7465,7 +7465,9 @@
      sys2et[EISCONN] = UAEISCONN;
      sys2et[ENOTCONN] = UAENOTCONN;
      sys2et[ESHUTDOWN] = UAESHUTDOWN;
+#if (EWOULDBLOCK != EIO)
      sys2et[ETOOMANYREFS] = UAETOOMANYREFS;
+#endif
      sys2et[ETIMEDOUT] = UAETIMEDOUT;
      sys2et[ECONNREFUSED] = UAECONNREFUSED;
      sys2et[EHOSTDOWN] = UAEHOSTDOWN;