IT/Linux | AIX
NFS export & mount
Finance & IT
2020. 9. 16. 13:29
728x90
NFS export
NFS mount
[NFS export]
1. /etc/exports 파일에 해당 내용 추가
/appdata/data/tranmgr8 <mount할 hosts IP>(rw,sync,no_root_squash)
2. NFS reload
systemctl reload nfs
3. NFS 허용 확인
exportfs -v
[NFS mount]
1. nfs 명령어로 마운트 테스트
mount -t nfs <export한 hosts IP>:/appdata/data/tranmgr8 /sw/tranmgr8
2. 마운트 확인 후 마운트 해제
df -h /sw/tranmgr8
umount /sw/tranmgr8
3. /etc/fstab 파일에 NFS 추가
ex) <export한 hosts IP>:/appdata/data/tranmgr8 /sw/tranmgr8 nfs bg,soft,rw,_netdev 0 0
4. 마운트 적용
mount -a
728x90