Re: nfsd v3 & nfsd v4 server on same host
- In reply to: Rick Macklem : "Re: nfsd v3 & nfsd v4 server on same host"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Nov 2025 12:59:43 UTC
On Wed, Nov 19, 2025 at 04:40:07AM -0800, Rick Macklem wrote: > On Wed, Nov 19, 2025 at 4:27 AM void <void@f-m.fm> wrote: > > > > Hi, > > > > As subject - is this possible temporarily? > Sure. You will need to configure the NFSv4 bits.. > - Add a "V4:" line to /etc/exports (that is needed as > well as the sharenfs property. > - Either choose to do uids in "strings", which is probably > the easiest unless you are doing kerberos mounts or > run nfsuserd (but choose one, not both of these). > Setting vfs.nfs.enable_uidtostring and vfs.nfsd.enable_stringtouid > to one and not running the nfsuserd chooses the first case. > - set nfsv4_server_enable="YES" in /etc/rc.conf, but don't set > nfsv4_server_only > > If you've done the above, do: > # sysctl -a | fgrep vfs.nfsd | fgrep vers > - and you should see minvers set to 2 or 3 and maxvers set to 4 Care to add this to the man page, please?