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

Attachment: fix_xdrrec_putbytes.sh
Description: Bourne shell script

Attachment: fix_compile.patch.bin
Description: Binary data

Attachment: fix_xdrrec_putbytes.patch.bin
Description: Binary data

Reply via email to