서버 측(AIX)
vi /etc/exports
/NFS -rw
exportfs -a
클라이언트 측에서는 우분투 운영 체제가 설치된 노트북입니다.
showmount -e 192.168.119.56
Export list for 192.168.119.56:
/NFS (everyone)
공유 파일 디렉터리에 설치할 때 다음 오류가 나타납니다.
sudo mount -t nfs -vvvv -o nfsvers=3 192.168.119.56:/NFS /home/lastvirus/sharedfiles
mount.nfs: timeout set for Wed Jun 21 16:52:08 2023
mount.nfs: trying text-based options 'nfsvers=3,addr=192.168.119.56'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.119.56 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.119.56 prog 100005 vers 3 prot UDP port 57183
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 192.168.119.56:/NFS
이는 nfs 버전에 도움이 될 수 있습니다.
rpcinfo 192.168.119.56 |egrep "service|nfs"
program version netid address service owner
100003 2 udp 0.0.0.0.8.1 nfs unknown
100003 2 udp6 ::.8.1 nfs unknown
100003 3 udp 0.0.0.0.8.1 nfs unknown
100003 3 udp6 ::.8.1 nfs unknown
100003 2 tcp 0.0.0.0.8.1 nfs unknown
100003 2 tcp6 ::.8.1 nfs unknown
100003 3 tcp 0.0.0.0.8.1 nfs unknown
100003 3 tcp6 ::.8.1 nfs unknown
100003 4 tcp 0.0.0.0.8.1 nfs unknown
100003 4 tcp6 ::.8.1 nfs unknown