What I am missing ?
/etc/sysctl.conf is applied before rc.d/nfs* ?
That would be my guess. The sysctl's aren't setable until the modules
are loaded. If you build a kernel with "options NFSD" in its kernel
config file, then it should be setable as above, I think? (I always
use sysctl manually after booting, so I don't really know how /etc/sysctl.conf
works.
After manually setting:
salwe...@freebsd:/etc#sudo sysctl vfs.newnfs.server_max_nfsvers=4
vfs.newnfs.server_max_nfsvers: 4 -> 4
salwe...@freebsd:/etc#sudo sysctl vfs.newnfs.server_min_nfsvers=4
vfs.newnfs.server_min_nfsvers: 4 -> 4
salwe...@freebsd:/etc#
We are still able to mount via NFSv3 (even when those two lines are commented
in sysctl.conf).
Any other idea.. ?
--
Marek Salwerowicz
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"