You are not logged in.

#1 2009-04-14 13:45:45

mclabaut
Member
Registered: 2007-06-18
Posts: 41

open a file over nfs returns EINVAL with kernel 2.6.29

Same bus as the one reported there : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522926

Arch linux, kernel 2.6.29, nfs-utils 1.1.3, shared directory mounted on an nfs v3 server.

To reproduce :

rm ./blob; echo foo > ./blob ; echo $? cat blob; echo $?
1
0

Where it should be :

rm ./blob; echo foo > ./blob ; echo $? cat blob; echo $?
0
foo
0

Offline

#2 2009-04-14 14:29:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: open a file over nfs returns EINVAL with kernel 2.6.29

Works as expected here, on two client machines with kernel26 2.6.29.1-3 and nfs-utils 1.1.3-2. Server is also an Arch box, running the same kernel and nfs-utils versions. What's on your server? Maybe it's a debian-only bug.

Edit: your string is missing a semi-colon - it should be

rm ./blob; echo foo > ./blob ; echo $?; cat blob; echo $?

Offline

#3 2009-04-14 14:41:39

mclabaut
Member
Registered: 2007-06-18
Posts: 41

Re: open a file over nfs returns EINVAL with kernel 2.6.29

Server is an old FC5 box with nfs v3.
The problem doesn't appear with 2.6.28 on the client side (arch linux. I just downgraded the kernel)

Offline

Board footer

Powered by FluxBB