В Сервере Ubuntu 14.04 у меня есть доля, монтирующаяся правильно со следующей командой:
sudo mount -a 192.168.10.5:/mnt/sf_nas/movies /mnt/movies
Однако, когда я добавляю ниже строки к /etc/fstab
и перезагрузка, доля не смонтирована:
192.168.10.5:/mnt/sf_nas/movies /mnt/moviesnfs auto,noatime,nolock,bg,nfsvers=4,intr,tcp,actimeo=1800 0 0
Кто-либо может сказать мне, что я пропускаю здесь?Заранее спасибо!
Установка nfsvers=4
заставила бы монтирование перестать работать, если Ваш сервис NFS является версией 3. Необходимо установить nfsvers=3
или не установить его вообще (от man 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.