![centOS의 NFS 파일 마운트 오류](https://linux55.com/image/4884/centOS%EC%9D%98%20NFS%20%ED%8C%8C%EC%9D%BC%20%EB%A7%88%EC%9A%B4%ED%8A%B8%20%EC%98%A4%EB%A5%98.png)
Centos에서 NFS를 사용하여 서버 파일 시스템을 마운트하려고 합니다. 그런데 점점 더 많아지네요연결 시간이 초과되었습니다실수.
내가 따라온 단계는 다음과 같습니다.
서버 측에서:
[centos@ip-172-31-46-199 landingzone]$ sudo vi /etc/exports
/home/user/landingzone 172.31.37.128(rw,sync,no_root_squash)
sudo exportfs -av <br> exporting 172.31.37.128:/home/user/landingzone
클라이언트 측에서:
sudo mkdir /mnt/NFS
[centos@ip-172-31-37-128 ~]$ cd /mnt
[centos@ip-172-31-37-128 mnt]$ ls
nfs NFS tecmint <br>[centos@ip-172-31-37-128 mnt]$ sudo mount 172.31.46.199:/home/user/landingzone /mnt/NFS
mount.nfs: Connection timed out
참고로 NFS 서비스를 시작했습니다.
답변1
yum install nfs-utils nfs-utils-lib
chkconfig nfs on
service rpcbind start
service nfs start
고객:
chkconfig netfs on
sudo mount -t nfs 172.31.46.199:/home/user/landingzone /mnt/NFS