alpha:/home 을 특정서버:/homes/alpha 에 마운트하기


사용자 : /etc/fstab

[호스트, 혹은 IP]:[경로]   [마운트 포인트]  nfs     rw,soft,intr    0 0


예) alpha:/home   /homes/alpha  nfs     rw,soft,intr    0 0



alpha : /etc/exports

/disk *(rw,no_root_squash,no_all_squash,no_subtree_check,async)


수정 후,

/etc/init.d/nfs-kernel-server restart (우분투 기준, centos 는 /etc/init.d/nfs)



다시 서버로 돌아와서 mount -a


df -h 나 mount 명령어로 확인






출처


http://stackoverflow.com/questions/22246477/mounting-nfs-results-in-access-denied-by-server


http://yoonka.tistory.com/76

'IT > Linux' 카테고리의 다른 글

ssh 자동 로그인 설정  (0) 2016.03.02
CentOS virbr0 NAT disable  (0) 2016.02.19
윈도우 10에서의 vmware 12 네트워크 문제  (0) 2016.02.13
Nginx 설치하기  (0) 2016.02.11
Bash 단축 키  (0) 2016.01.26