Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2016 20:04:02 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Markus =?utf-8?Q?H=C3=A4stbacka?= <midian@ihme.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Problems with NFSv2
Message-ID:  <438114024.32371620.1459037042543.JavaMail.zimbra@uoguelph.ca>
In-Reply-To: <E01C41F2-4E94-417D-B795-24D39570A0BC@ihme.org>
References:  <E01C41F2-4E94-417D-B795-24D39570A0BC@ihme.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Markus Hastbacka wrote:
> Hello,
>=20
> 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=E2=80=99t working on the server, and thus =
the
> machines (they are raspberry pi:s with raspbian) cannot mount their rootf=
s.
>=20
> I upgraded the machine from 10.1-RELEASE-p3, is there something in the
> configuration I should change, or anything else I could try?
>=20
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@raqqi /]# mount -o mountvers=3D2 10.0.0.1:/nfsroots /mnt/
> mount: mount to NFS server '10.0.0.1' failed: RPC Error: Program/version
> mismatch.
>=20
> Sorry for the inconvenience if this is the wrong place to ask, could you
> please point me to the right mailing list if it=E2=80=99s the case.
>=20
> Thanks in advance,
> Markus H=C3=A4stbacka
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?438114024.32371620.1459037042543.JavaMail.zimbra>