Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data write issue with v4 mounts in latest fuse-nfs #29

Open
julian-hj opened this issue Jan 18, 2018 · 2 comments
Open

data write issue with v4 mounts in latest fuse-nfs #29

julian-hj opened this issue Jan 18, 2018 · 2 comments

Comments

@julian-hj
Copy link
Contributor

julian-hj commented Jan 18, 2018

I can consistently reproduce this issue manually and in our test automation. Seems like there is some problem in the v4 code path, particularly having to do with data writes:

root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# fuse-nfs -a -n "nfs://testnfsserver.gorgophone.cf-app.com/export2/certs?gid=2000&uid=2000&version=4" -m /tmp/volumes/nfs-volume-name --multithread=1
root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# 
root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# touch /tmp/volumes/nfs-volume-name/grak
root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# echo "food" > !$
echo "food" > /tmp/volumes/nfs-volume-name/grak
bash: echo: write error: Numerical result out of range
@julian-hj
Copy link
Contributor Author

FWIW, id mapping and multithread don't appear to change the behavior. I also get the same behavior without those parameters:

root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# fuse-nfs -a -n "nfs://testnfsserver.gorgophone.cf-app.com/export2/certs?version=4" -m /tmp/volumes/nfs-volume-name
root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# touch /tmp/volumes/nfs-volume-name/grak3
root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# echo "food" > /tmp/volumes/nfs-volume-name/grak3
bash: echo: write error: Numerical result out of range

@julian-hj
Copy link
Contributor Author

the nfs3 version still works fine:

root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# fuse-nfs -a -n "nfs://testnfsserver.gorgophone.cf-app.com/export2/certs" -m /tmp/volumes/nfs-volume-name
root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# touch /tmp/volumes/nfs-volume-name/grak4
root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# echo "food" > /tmp/volumes/nfs-volume-name/grak4
root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# echo "food" >> /tmp/volumes/nfs-volume-name/grak4
root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# echo "food" >> /tmp/volumes/nfs-volume-name/grak4
root@8cb85777-ed10-4e6a-5e5f-651c612dade9:/tmp/build/5bbc57d5# cat !$
cat /tmp/volumes/nfs-volume-name/grak4
food
food
food

@julian-hj julian-hj changed the title intermittent issue with v4 mounts in latest fuse-nfs data write issue with v4 mounts in latest fuse-nfs Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant