How can you enable only NFS version 4 support on HP-UX 11i v3?
-
HP-UX v3 does not support NFSv4
-
Change the NFSv4 kernel parameter to yes, recompile the kernel and reboot.
-
Using only NFSv4 is not supported; NFSv2 and NFSv3 are always enabled
-
Set the configuration parameters NFS_SERVER_VERSMIN and NFS_SERVER_VERSMAX
HP-UX 11i v3 controls NFS version support through kernel configuration parameters NFS_SERVER_VERSMIN and NFS_SERVER_VERSMAX. By setting both to 4, only NFSv4 is enabled. HP-UX v3 does support NFSv4. Recompiling the kernel is not required - these are tunable parameters. NFSv2/v3 can be disabled; they are not mandatory.
On HP-UX 11i v3, the NFS server's protocol version range is controlled by kernel-tunable configuration parameters, NFS_SERVER_VERSMIN and NFS_SERVER_VERSMAX, which let an administrator restrict the server to negotiate only NFSv4 by setting both the minimum and maximum to version 4. This is done through configuration rather than a full kernel recompile, and NFSv2/v3 are not permanently 'always enabled' — they can be disabled via these same parameters.