Search Results for 'NFS'

1 POSTS

  1. 2010.08.12 NFS V4 Sample Config

NFS V4 Sample Config

Posted 2010. 8. 12. 23:25
Server Side
1. Tcp 2049 Port open

2. Hosts 등록
/etc/hosts

3. Service 설정
chkconfig --level 0123456 portmap off
chkconfig --level 345 portmap on
chkconfig --level 0123456 rpcidmapd off
chkconfig --level 345 rpcidmapd on
chkconfig --level 0123456 nfslock off
chkconfig --level 345 nfslock on
chkconfig --level 0123456 nfs off
chkconfig --level 345 nfs on
chkconfig --level 0123456 rpcgssd off
chkconfig --level 0123456 rpcsvcgssd off

4. Service restart
/etc/init.d/rpcgssd stop
/etc/init.d/rpcsvcgssd stop
/etc/init.d/portmap restart
/etc/init.d/rpcidmapd restart
/etc/init.d/nfslock restart
/etc/init.d/nfs restart

5. Pseudo Filesystem 설정(Option)
NFS Server /add 파티션을 NFS Client에서 /DATA/add로 보이게 설정
/etc/init.d/nfs stop
chmod 1777 /add --> 추가할 파티션 모드 설정
mkdir /DATA/add --> 마운트할 디렉토리 생성
mount --bind /add /DATA/add
/etc/init.d/nfs start

6. Export
/etc/exports
/DATA 10.0.0.0/24(rw,fsid=0,insecure,no_subtree_check,sync,no_root_squash)
/DATA/add 10.0.0.0/24(rw,nohide,insecure,no_subtree_check,sync,no_root_squash)

'IT' 카테고리의 다른 글

windows 7 telnet enable  (0) 2011.07.12
Buffalo LinkStation LS-WVL  (0) 2011.07.07
hp-ux hostname 변경  (0) 2010.08.03
이클립스 에서 euckr 로 작성된 한글이 깨질때  (0) 2010.06.24
IMAP RFC  (0) 2009.03.02