[How do I get the nfs server to support protocol version 2 in Ubuntu 17.10? ](Https://www.it-swarm.dev/ja/17.10/ubuntu-1710%E3%81%A7nfs%E3%82%B5%E3%83%BC%E3%83%90%E3%83% BC% E3% 81% 8C% E3% 83% 97% E3% 83% AD% E3% 83% 88% E3% 82% B3% E3% 83% AB% E3% 83% 90% E3% 83% BC% E3% 82% B8% E3% 83% A7% E3% 83% B32% E3% 82% 92% E3% 82% B5% E3% 83% 9D% E3% 83% BC% E3% 83% 88% E3% 81% 99% E3% 82% 8B% E3% 82% 88% E3% 81% 86% E3% 81% AB% E3% 81% 99% E3% 82% 8B% E3% 81% AB% E3% 81% AF% E3% 81% A9% E3% 81% 86% E3% 81% 99% E3% 82% 8C% E3% 81% B0% E3% 82% 88% E3% 81% 84% E3% 81% A7% E3% 81% 99% E3% 81% 8B% EF% BC% 9F / 961133444 /)
It seems that you have to explicitly specify it in / etc / default / nfs-kernel-server as below
You need to change / etc / default / nfs-kernel-server to the following line:
RPCNFSDOPTS="--nfs-version 2,3,4 --debug --syslog"
# To confirm above mods are in effect after service restart use
# cat /run/sysconfig/nfs-utils
# or
# service nfs-kernel-server status
#
Then restart the service and it's OK
$ service nfs-kernel-server restart
[How do I get the nfs server to support protocol version 2 in Ubuntu 17.10? ](Https://www.it-swarm.dev/ja/17.10/ubuntu-1710%E3%81%A7nfs%E3%82%B5%E3%83%BC%E3%83%90%E3%83% BC% E3% 81% 8C% E3% 83% 97% E3% 83% AD% E3% 83% 88% E3% 82% B3% E3% 83% AB% E3% 83% 90% E3% 83% BC% E3% 82% B8% E3% 83% A7% E3% 83% B32% E3% 82% 92% E3% 82% B5% E3% 83% 9D% E3% 83% BC% E3% 83% 88% E3% 81% 99% E3% 82% 8B% E3% 82% 88% E3% 81% 86% E3% 81% AB% E3% 81% 99% E3% 82% 8B% E3% 81% AB% E3% 81% AF% E3% 81% A9% E3% 81% 86% E3% 81% 99% E3% 82% 8C% E3% 81% B0% E3% 82% 88% E3% 81% 84% E3% 81% A7% E3% 81% 99% E3% 81% 8B% EF% BC% 9F / 961133444 /)
Recommended Posts