nfs errors with xfs filesystem (2.4.x kernel)
We have several Linux x86 workstations here. In "dmesg" on these PCs I see a lot of errors that read:
NFS: Server wrote less than requested.
AND
eth0: TX underrun, threshold adjusted.
This message appears whenever someone logged into the Mandrake/RH/whatever box (with NFS autofs mounting in his/her home directory) tries to write something to an nfs-mounted directory (usually the home directory). Even small files of 1.5 MB or so often generate something such as "I/O error" when saving a file (really small files usually get saved fine). And the home directory is always based in an SGI (O2, Indy, Onyx) with xfs file system.
Intra-SGI these transfer take place perfectly, but Mandrake/RH/OtherLinux generates these problems.
Has anyone seen this error before and does anyone know how to get around it? The kernel used is 2.4.22-28 for most of the Mandrake boxes, or at least 2.4.x anyway. We have not gone to 2.6.x yet.
Thanks in advance.
PS: Interestingly:
cp file1 file2
where file1 is sufficiently large (1 MB or bigger) always fails the first time, but often does a partial write.
If you then delete file2 and try the command anew, it works fine. Very strange indeed.
På må , 29/03/2004 klokka 15:51, skreiv F. Baker:
Quoted 8 lines
PS: Interestingly:
cp file1 file2
where file1 is sufficiently large (1 MB or bigger) always fails the first time, but often does a partial write.If you then delete file2 and try the command anew, it works fine. Very strange indeed.
Have you read the FAQ entry on http://nfs.sourceforge.net/#faq_e4
Cheers,
Trond