Re: Some NFS server V4 questions

From: Russell L. Carter <rcarter_at_pinyon.org>
Date: Sat, 25 Oct 2014 08:50:15 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 10/25/14 03:07, Beeblebrox wrote:
> * I can't get the NFS server to run V4 only. I have: sysctl
> vfs.nfsd.server_min_nfsvers=4
> 

[...]

> PXE client's /etc/fstab is: 92.168.2.1:/data/amd64 /       nfs
> ro      0       0 192.168.2.1:/usr/local /usr/local nfs   ro      0
> 0 192.168.2.1:/home       /home   nfs     rw,hard,intr    0  0
> 

Possibly need to arrange for mount_nfs to see -o nfsv4
(I use mount_nfs -o nfsv4,minorversion=1)

Then nfsstat shows eg:

terp:/library on /mnt/terp/library
nfsv4,minorversion=1,tcp,resvport,hard,cto,sec=sys,acdirmin=3,acdirmax=60,acregmin=5,acregmax=60,nametimeo=60,negnametimeo=60,rsize=65536,wsize=65536,readdirsize=65536,readahead=1,wcommitsize=2798255,timeout=120,retrans=2147483647

HTH,
Russell

> * Considering V2/V3 for NFS is getting dropped from code base, PXE
> clients used to need max V3 as root and could not mount_root with
> V4. Has this changed? If so, what services do the clients need to
> get V4 on root working (RO, no RW)?

> * There was a simple command to show from server-side what version
> of NFS the exports were running, but I seem to have lost that. Any
> clues?
> 
> * Have any of these services become capable of running from inside
> a jail environment? {rpcbind mountd nfsd nfsuserd} - it does not
> seem so, but just checking.
> 
> Thanks and Regards.
> 
> 
> 
> ----- FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS -- View this
> message in context:
> http://freebsd.1045724.n5.nabble.com/Some-NFS-server-V4-questions-tp5959433.html
>
> 
Sent from the freebsd-current mailing list archive at Nabble.com.
> _______________________________________________ 
> freebsd-current_at_freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-current To
> unsubscribe, send any mail to
> "freebsd-current-unsubscribe_at_freebsd.org"
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUS8a3AAoJEFnLrGVSDFaEvWEP/iIKgw1kTmGQqgYAzVY++8uq
X3XMSnUFNGkyZSO/cz9gCO8S+oXkWVD8z3UbTKtyPCdTHhp48klTRW+ceSGvfhq2
oyWfcM5bXbOBLQZaoz66IL77mZHlWOTOLoGyNQZp7x/7KXETN7nK+qxQ1WDD7WM9
BW8fC+krQ4F5Tvqc70fylu93QKKUiqi26cOMWuRLTwgLXJY+NtPLMjH+SadDonNC
FvszjFpTsoP7cKPWA0vPA2iLb3Q43DT1+k23r6iY33JzTX2LW+zpzk+i4wEneNE8
JAgGqsFB08sH8krBrKo3n5+zcd5R0mZu3uX9a0CQJYiNHg6Phh4QgyETTYJT0ig/
mF1Q7V5z4FHLKdZigqO2WjNN2l2zfzDlUWfDTyc/b8CZIaPJemdqADsBVl76UdX8
2HspYZdAxR2zPc9EmpNPQJAksBFyUpwZy6cpHW+7wrkeeYoTWZLYV5sm4IscOzEE
tdof9VRIT+DGPrxLPFxO8tQiOV0eQWh3Om7Tlp92b3no9A3aUObQGIltvEEYQDKt
CobSmiLRSx0FK/pGYrYZilJlWStJLHySvnpbEkVDJGVL9Ua42Jn/VMXfBksRz01P
53wFmW7RAj8yyzDKA8P7rTjoJdypBRJZXphk+svceGOKv8Bxrcx3xgyF82Cl8YPk
Kl2YChCpbLewc+zxmRCz
=ShKh
-----END PGP SIGNATURE-----
Received on Sat Oct 25 2014 - 13:58:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:53 UTC