This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sunrpc patch that fixes nfs-server failure when reading files of specific sizes


Il 11/4/2013 11:52 AM, George Prekas ha scritto:
Nfs-server occasionally fails when serving files of specific sizes. The Linux client reports an input/output error and the user has to umount and mount the NFS share in order to continue using it.

The problem happens when the file's size is: 8192*k + 3896 or 8192*k + 3896 + 3996 where k = 0,1,2,...

Example file sizes are: 3896, 7892, 12088, 16084

Sunrpc sends data in chunks and under some conditions it fails to recognize that it is sending the last chunk and does not set the corresponding flag (last fragment bit).

The procedure to apply the patch is the following:
* Download source packages nfs-server and sunrpc.
* Execute fix_xdrrec_putbytes.sh

--
George Prekas
Dipl. Electrical and Computer Engineer, National Technical University of Athens


Hi George,
unfortunately the nfs-server is without a package maintainer
http://cygwin.com/cygwin-pkg-maint

Are you interested to take over ?
If so please look at
  http://cygwin.com/setup.html

Regards
MArco


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]