Problems with NFSv2

Rick Macklem rmacklem at uoguelph.ca
Sun Mar 27 00:04:10 UTC 2016


Markus Hastbacka wrote:
> Hello,
> 
> I updated my home server to 10.3-RELEASE. After the update I cannot boot a
> few other machines that have nfsroots on the server. After some digging
> around it seems that nfsv2 isn’t working on the server, and thus the
> machines (they are raspberry pi:s with raspbian) cannot mount their rootfs.
> 
> I upgraded the machine from 10.1-RELEASE-p3, is there something in the
> configuration I should change, or anything else I could try?
> 
There is a sysctl called vfs.nfsd.server_min_nfsvers. If that isn't set to
"2", it won't service NFSv2.
However, I can't think of why it wouldn't be "2" unless you have set to
something else.

Btw, you should be able to run a diskless client with NFSv3, but I can't
think of why NFSv2 won't work?

Good luck with it, rick

> The error I get when trying to mount is:
> [root at raqqi /]# mount -o mountvers=2 10.0.0.1:/nfsroots /mnt/
> mount: mount to NFS server '10.0.0.1' failed: RPC Error: Program/version
> mismatch.
> 
> Sorry for the inconvenience if this is the wrong place to ask, could you
> please point me to the right mailing list if it’s the case.
> 
> Thanks in advance,
> Markus Hästbacka
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list