Nfs client configuration

Hello everyone I have always used the same settings in the / etc / fstab file for client computers nfs:

Ip-address:/machine/shared_folder /destination_directory/folder nfs ro, hard, intr 0 0

During startup:

Mounting /destination_directory/folder
Starting /etc/rc.local Compatibility
Started /etc/rc.local Compatibility
[***] A start job is running for /destination_directory/folder ( 2 min)

But in Ubuntu Mate 16.04 does not work, but if you can ride with:

sudo mount -t nfs ip-address:/machine/shared_folder /destination_directory/folder

What am I doing wrong?

Thanks

Hi @Juanjo,

is this part missing on the end of your command?. :confused:

Thank you for answering this part is at the end of the command

I asked because the part of the command I posted above is missing from the one showing in the quote box here!. :confused:

nfs ro, hard, intr 0 0

That part of the command is in the / etc / fstab file.

Ip-address:/machine/shared_folder /destination_directory/folder nfs ro, hard, intr 0 0

1 Like

Copy exactly what is in /etc /fstab:


192.168.23.5:/Advent/PELICULAS /home/ana/Red/Peliculas nfs ro,hard,intr 0 0
192.168.23.5:/Advent/SERIES /home/ana/Red/Series nfs ro,hard,intr 0 0
192.168.23.5:/Advent/MUSICA /home/ana/Red/Musica nfs ro,hard,intr 0 0

Of course folders are created with read and write.

Hi @Juanjo,

does this help you at all?:

https://help.ubuntu.com/community/SettingUpNFSHowTo

The configuration server and the client is well, I have two other notebooks with Linux Mint 17.3 with the same confiración and there is no problem.

Solved. I think the problem was the USB wireless rtl 8192cu, I’ve changed for another without problems. This device gives solves problems but those who advise doing here:

Is rare.

2 Likes

Hello everyone, I finally think I’ve solved the problem.
The solution I found on the wiki Arch.
Simply add in fstab the following commands:

noauto, x-systemd.automount, x-systemd.idle-timeout = 1min

Example:

10.10.10.10:/pc/folder / pc2 / folder2 nfs noauto, x-systemd.automount, x-systemd.idle-timeout = 1min, hard, intr 0 0