Ubuntu 14.04 Server에서는 다음 명령을 사용하여 공유가 올바르게 마운트되었습니다.
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
내가 여기서 무엇을 놓치고 있는지 말해 줄 수 있는 사람이 있나요? 미리 감사드립니다!
답변1
NFS 서비스 버전이 3인 경우 설정하면 nfsvers=4
마운트가 실패합니다. 을 설정하거나 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.