![No se puede montar automáticamente el recurso compartido NFS usando fstab](https://rvso.com/image/1083737/No%20se%20puede%20montar%20autom%C3%A1ticamente%20el%20recurso%20compartido%20NFS%20usando%20fstab.png)
En Ubuntu 14.04 Server tengo un recurso compartido montado correctamente con el siguiente comando:
sudo mount -a 192.168.10.5:/mnt/sf_nas/movies /mnt/movies
Sin embargo, cuando agrego la siguiente línea /etc/fstab
y reinicio, el recurso compartido no se monta:
192.168.10.5:/mnt/sf_nas/movies /mnt/moviesnfs auto,noatime,nolock,bg,nfsvers=4,intr,tcp,actimeo=1800 0 0
¿Alguien puede decirme qué me falta aquí? ¡Gracias de antemano!
Respuesta1
La configuración nfsvers=4
provocaría que el montaje fallara si su servicio NFS es la versión 3. Debe configurarlo nfsvers=3
o no configurarlo en absoluto (desdeman nfs
):
nfsvers=n The NFS protocol version number used to contact the
server's NFS service. If the server does not support
the requested version, the mount request fails. If this
option is not specified, the client negotiates a
suitable version with the server, trying version 4
first, version 3 second, and version 2 last.