질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

centos nfs 관련

작성자 정보

  • 리눅~ 작성
  • 작성일

컨텐츠 정보

본문

*버전

[root@web2 etc]# uname -r
2.6.18-92.el5

[root@web sysconfig]# rpm -qa | grep nfs
system-config-nfs-1.3.23-1.el5
nfs-utils-1.0.9-33.el5
nfs-utils-lib-1.0.8-7.2.z2

[root@web2 etc]# rpm -qa | grep portmap
portmap-4.0-65.2.2.1

nfs 클라이언트 설정

192.168.0.123
mount
192.168.0.120:/home on /home type nfs (rw,rsize=32768,wsize=32768,addr=192.168.0.120)
df -h
192.168.0.120:/home    28G   16G   11G  61% /home
/var/log/messages
Feb  9 22:35:33 web2 kernel: lockd: cannot monitor 192.168.0.120
Feb  9 22:35:33 web2 kernel: lockd: failed to monitor 192.168.0.120
Feb  9 22:35:59 web2 kernel: statd: server localhost not responding, timed out
Feb  9 22:35:59 web2 kernel: lockd: cannot monitor 192.168.0.120
Feb  9 22:35:59 web2 kernel: lockd: failed to monitor 192.168.0.120

vi fstab

192.168.0.120:/home     /home                   nfs     rsize=32768,wsize=32768,auto    0 0


서버 nfs
192.168.0.120
/var/log/messages


Feb  9 22:03:24 web kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Feb  9 22:03:24 web kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Feb  9 22:03:24 web kernel: NFSD: starting 90-second grace period

Feb  9 22:04:10 web mountd[4659]: authenticated mount request from 192.168.0.123                           :680 for /home (/home)

 

/etc/sysconfig/nfs

STATD_PORT=4001
LOCKD_TCPPORT=4002
LOCKD_UDPPORT=4002
MOUNTD_PORT=4003
RPCNFSDCOUNT=30

vi /etc/exports

/home   *(rw,no_root_squash)

Feb  9 22:35:59 web2 kernel: statd: server localhost not responding, timed out
Feb  9 22:35:59 web2 kernel: lockd: cannot monitor 192.168.0.120
Feb  9 22:35:59 web2 kernel: lockd: failed to monitor 192.168.0.120

이런로그가 자꾸 쌓이는거 보면 정상적인 작동은 아닌거 같습니다

도움이 필요합니다

관련자료

댓글 1

장규승님의 댓글

  • 장규승
  • 작성일
세팅상 특별한 문제는 확인 안되는데 접근이 안되는것 같군요

selinux 또는 iptables 점검하시고요

netstat 상 서비스와 포트가 연결되는지 확인하세요

공지사항


뉴스광장


  • 현재 회원수 :  60,299 명
  • 현재 강좌수 :  36,962 개
  • 현재 접속자 :  438 명