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

NFS v4? #7

Open
KodoGit opened this issue Jan 28, 2022 · 1 comment
Open

NFS v4? #7

KodoGit opened this issue Jan 28, 2022 · 1 comment

Comments

@KodoGit
Copy link

KodoGit commented Jan 28, 2022

Hi. Does this port supports nfs v4?
I try to connect win 19 + dokan 1.5.0.3 with your latest version (or that suitable for my dokan).
And they both return

Failed to mount nfs share : mount_cb: NFS4: SETCLIENTID (path /xxx) failed with NFS4ERR_MINOR_VERS_MISMATCH(-5)

when I set "?version=4"
I connect to ceph ganesha with nfs up to 4.2 support

@kstorbakken
Copy link

kstorbakken commented Apr 2, 2024

I know both this issue and #5 are essentially the same and are old as heck. I would like to report to anyone who stumbles across this project that NFSv4 is working just fine these days with the latest compiled packages.

Downloaded https://github.com/Daniel-Abrecht/fuse-nfs-crossbuild-scripts/releases/download/libnfs%3Dlibnfs-5.0.3_fuse-nfs%3Dmaster_dokany%3Dv2.0.6.1000/x86_64-w64-mingw32.zip which corresponds to the version of Dokany I have installed.

Ran this command to mount:
fuse-nfs.exe -n nfs://ip_addr:/mnt/disks/disk2?version=4 -m Y
Which mounted the disk as Y:\ with no issues. From there it's easy enough to automate disk mounting using something like nssm. The speeds I'm getting exceeded what I thought I'd get, saturating my gigabit link.

I noticed that running the package against the wrong version of Dokany would give either zero output or nfs service start errors.

Thanks for providing this awesome project.
Cheers!

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

2 participants