You are not logged in.
Hi all,
I've been working on my Arch Linux media server and would like to host my media files using NFS to my windows 7 boxes. I've installed the x86_x64 nfs-utils package using pacman and installed/configured using the NFS4 wiki article. I am able to access the shares using the Windows 7 clients default NFS client (installed from the "Programs and Features" in control panel), however that implementation is only NFSv2/3 support. I did some research and saw there was an open source NFSv4.1 client being developed by the University of Michigan (and funded by Microsoft) that brings NFSv4.1 support Windows 7. This is the same implementation of NFSv4.1 found in Windows 8. So I downloaded the client, got it running on my windows 7 machine and tried to connect to my share. It's communicating with the server but it fails at an an error about a "minorversion not allowed" in the client (debug mode).
I began troubleshoot the client, but I did not find any issues. So I looked a bit more at the Arch Linux server and the NFS server configuration on it. I did some reading and believe I found the source of the error. the control file in
/proc/fs/nfsd/versionsIn that control file I see "-4.1", which disables v4.1 client support and I believe that is what is preventing my windows 7 NFSv4.1 client from connecting. I'd like to change that to "+4.1" but cannot edit the file as it is is "busy". When the server is not running, the file is not populated with data and I believe is created at runtime (therefore I am not able to edit it at all)
I looked to see if there were any parameters I could pass in the following config files, but there were none:
etc/conf.d/nfs-common.conf
etc/conf.d/nfs
etc/conf.d/nfs-server.conf
etc/rc.d/nfs-common
etc/rc.d/nfs-serverFinally, after a bit of research, I determined the program that created the file in question is
usr/sbin/rpc.nfsdThere is a parameter to "remove" versions in etc/conf.d/nfs-server.conf (where X is the specific version)
MOUNTD_OPTS="--no-nfs-version X"but none to add.
So, anyone have any idea what I'm missing to get a "+4.1" to write to the /proc/fs/nfsd/versions file instead of the "-4.1"?
Any help is appreciated!
Last edited by jeetkunejoe (2013-02-09 22:40:19)
Offline
No luck on the client side to specify only "4.0" connections. Anyone have any idea how to get the versions file to write "+4.1"?
Offline
It doesn't seem like the arch kernel is compiled with nfs 4.1 support:
#zcat /proc/config.gz |grep CONFIG_NFS_V4
CONFIG_NFS_V4=y
# CONFIG_NFS_V4_1 is not setNFS 4.1 is still considered "experimental" AFAIK
Offline
Thanks for that! Didn't know 4.1 was a kernel level option. Will look to enable it, recompile and test it out. Will see if that solves my problem. Will keep this thread updated.
Offline
Ah, forgot this was open for a while. I tried compiling the kernel but was afraid my changes would be lost with each kernel upgrade. Is there any easy way to enable this kernel option without recompiling? Or a way to ensure that my kernel configuration was enabled on each kernel upgrade?
Offline
The only way to avoid recompiling is to persuade the devs to enable this option in the arch kernel build. Ask them by submitting a feature request.
Did the rebuild work? You didn't say, which is kinda odd. ![]()
Offline
The only way to avoid recompiling is to persuade the devs to enable this option in the arch kernel build. Ask them by submitting a feature request.
Did the rebuild work? You didn't say, which is kinda odd.
Ah, I should mention I started recompiling the kernel then figured that I didn't want to do it every time I upgraded the kernel. This fact is accurate, right? There is no way to carry over my kernel setting from one version to an upgrade, right? If I can do that, I wouldn't bug the devs till they're ready to include it :-)
Thanks for the reply.
Offline
... how will you know they're ready if you don't ask?
And really, do the build once anyway, to make sure it actually solves your problem.
Offline
Good point. I'll try building this weekend and shoot the devs an email if it works. Thanks!
Offline
Been some time since and update, but as of Linux Kernel Version 4.1, it looks like NFSv4.1 is set. Marking this as resolved. Thanks for all the help!
Offline