NFS: client needs to write twice (!) for a successful write
Hello,
I was looking for a couple of days for a solution, so (I think) I have the basics sorted out - i.e. correct /etc/exports, correct mount, no firewall, matching UIDs/GUIs, correct squash-ing etc.
The (weird) problem: a server (an Intel SS4200) exports an NFS share mapped by an 11.1 client (tried both YaST-way and CLI-way on the client). I can access and read from the share. However, when trying to write to the share (a simple 'cp') I observe the following behavior:
- The first time the 'cp' command is issued, it ends up with:
cp: cannot create regular file `./test.txt': Invalid argument
The above results in a zero-size file with correct filename being created.
- The second time (1 sec later) the 'cp' command is re-issued, the copy is performed fine and the contents of the file are intact.
On both client & server there are no messages in /var/log/messages when the first 'cp' fails.
Any ideas where/what to keep looking for?
|