Comments on How to configure an NFS server and mount NFS shares on Ubuntu 18.04

Network File System (NFS) is a popular distributed filesystem protocol that enables users to mount remote directories on their server. The system lets you leverage storage space in a different location and write onto the same space from multiple servers in an effortless manner. It, thus, works fairly well for directories that users need to access frequently. This tutorial explains the process of mounting NFS share on an Ubuntu 18.04 server in an simple and easy-to-follow steps.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: joede

NFS is easy to configure and really very fast. Nearly no article about NFS mentions the years old problems. My experiences are based on Debian (6..8) as client and server, some Ubuntu releases and some Synology NAS devices.

(1) access control is based on the UID and GID. If these IDs differ between client and server, the service "idmapd" gets involved. But this thing is broken and doesn't work as expected.

(2) NFS transmits only the first 16 groups a user is member of. If you have access writes with are limitted to group #17, you don't have access!

Another problem is th handling of Wifi connections. Since NetworkManager doesn't dupport pre-down scripts anymore, the WLAN connection is disabled *before* the NFS share is unmounted! This leads to enormous timeouts at the shutdown.

By: thctlo

above is nice, but still an out dated setup. 

@Joede

1) Ow yes it does. execpt when people use reserved TLD, this might go wrong, in these cases, configure /etc/idmapd.conf 2) One i didnt know, thanks for that one. 3) about the shutdown, reconfigure the service so the order is better. 

 

By: Heikki Moisander

We had to give up using nfs as timeouts were unbearable and I could not figure out how to fix it. How to reconfigure the service so the order is better?

By: Chris

The one thing the article should add is where the /etc/exports goes. Other than that nice article

By: till

/etc/exports is the full path, so it goes to /etc/exports