How to use nfs protocol version 2 with ubuntu 18.04

[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

reference

[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

How to use nfs protocol version 2 with ubuntu 18.04
How to use RealSense with ubuntu 20.04 and ROS Noetic
How to use mssql-tools with alpine
How to use mysql with M1 mac Docker preview version
How to use BootStrap with Play Framework
[Rails] How to use rails console with docker
How to use Map
How to use rbenv
How to use MyBatis2 (iBatis) with Spring Boot 1.4 (Spring 4)
How to use letter_opener_web
How to use with_option
How to use fields_for
How to use java.util.logging
How to use built-in h2db with spring boot
How to use map
How to use collection_select
How to use Java framework with AWS Lambda! ??
How to use Twitter4J
How to use active_hash! !!
How to use MapStruct
How to use hidden_field_tag
How to use TreeSet
How to use Java API with lambda expression
[How to use label]
How to use identity
How to use hashes
How to use JUnit 5
How to use docker compose with NVIDIA Jetson
How to use nginx-ingress-controller with Docker for Mac
How to use Dozer.mapper
How to use Gradle
How to run NullpoMino 7.5.0 on Ubuntu 20.04.1 64bit version
How to use org.immutables
How to use java.util.stream.Collector
How to use VisualVM
How to use Map
How to use Struts2 * Spring Framework (Spring plugin) June 2017 Version
How to use Oracle JDK 9 EA with Travis CI
[Ruby] How to use rbenv (version `x.x.x'is not installed)
[Java] How to use Map
How to use Chain API
How to lower java version
How to use java Optional
How to use JUnit (beginner)
How to use Ruby return
[Rails] How to use enum
How to use @Builder (Lombok)
[Swift] How to use UserDefaults
How to use java class
How to use Swift UIScrollView
How to use Big Decimal
[Java] How to use Optional ②
[Java] How to use removeAll ()
How to use String [] args
[Java] How to use string.format
How to use rails join
How to number (number) with html.erb
How to use Java Map
How to update with activerecord-import
How to use dependent :: destroy
How to use Eclipse Debug_Shell