|
News,
Internal,
Projects,
Home Software, Support, Documentation |
일단 시험삼아 /usr/ports를 2개의 머신에서 마운트해보려고 합니다. nfs server는 예를 들어 server.a.b.c(아이피 주소는 155.230.1.1) rc.conf는 rpcbind_enable="YES" nfs_server_enable="YES" 를 하였고 /etc/exports는 /usr/ports/ -maproot=root client.a.b.c 이렇게 하였습니다. # showmount -e server Exports list on server: /usr/ports/ client.a.b.c 이렇게 나옵니다. NFS Clinet는 rc.conf에는 nfs_client_enable="YES" 하구서 # mount -o bg,soft,intr server:/usr/ports/ /usr/ports [udp] server:/usr/ports: Permission denied nfs: Cannot immediately mount server:/usr/ports, backgrounding 이렇게 나오는군요. 그리고 추가 질문인데.... 위의 것은 hosts.allow를 설정하지 않은 상태입니다. hosts.allow로 대부분을 막아두고 nfs만 열기 위해서 ALL : ALL : deny 하구서 portmap : 155.230.1.100 : allow nfsd : 155.230.1.100 : allow portmap : ALL : deny 이렇게 수정을 했습니다.(client의 IP주소가 155.230.1.100이라 가정...) #mount -o bg,soft,intr server.a.b.c:/usr/ports/ /usr/ports [udp] server:/usr/ports: RPCPROG_NFS: RPC: Port mapper failure - RPC: Authentication error nfs: Cannot immediately mount server.knu.ac.kr:/usr/ports, backgrounding 이렇게 나옵니다. 둘다 root가 실행을 했고 nfs옵션은 자세히 모르겠지만 위와같이 export할때 maproot=root하였고 root 의 uid가 둘다 0이니 괜찮은것 아닌가요? 답변 부탁드립니다. ps) vim에 대한 질문을 드렸었는데 차은호님 감사합니다. 차은호님께서 지적하신 부분이 정확히! 맞더군요. 왜 빨라졌다 느려졌다 하는지 이제야 이유를 알겠더군요 =)
_______________________________________________ 한국 FreeBSD 사용자 그룹(KFUG) questions 메일링 리스트 questions at kr.FreeBSD.org http://www.kr.FreeBSD.org/mailman/listinfo/questions
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2004/04/13 13:07:43 $ |
|