Oracle® Solaris 11.2의 네트워크 파일 시스템 관리

인쇄 보기 종료

업데이트 날짜: 2014년 7월
 
 

서버에서 NFS 서비스를 확인하는 방법

  1. 관리자가 됩니다.

    자세한 내용은 Oracle Solaris 11.2의 사용자 및 프로세스 보안 의 지정된 관리 권한 사용을 참조하십시오.

  2. 서버가 클라이언트에 연결할 수 있는지 확인합니다.
    # ping lilac
    lilac is alive
  3. 서버에서 클라이언트에 연결할 수 없는 경우에는 로컬 이름 서비스가 클라이언트에서 실행 중인지 확인합니다.
  4. 이름 서비스가 실행 중인 경우 서버에서 네트워킹 소프트웨어 구성을 확인합니다. 예를 들어 /etc/netmaskssvc:/system/name-service/switch 서비스와 연결된 등록 정보를 확인합니다.
  5. rpcbind 데몬이 서버에서 실행 중인지 확인합니다.
    # /usr/bin/rpcinfo -u localhost rpcbind
    program 100000 Version 1 ready and waiting
    program 100000 Version 2 ready and waiting
    program 100000 Version 3 ready and waiting

    서버가 실행 중인 경우 rpcinfo 명령은 UDP 프로토콜에 연결된 버전 번호 및 프로그램을 나열합니다.

  6. nfsd 데몬이 서버에서 실행 중인지 확인합니다.
    # rpcinfo -u localhost nfs
    program 100003 Version 2 ready and waiting
    program 100003 Version 3 ready and waiting
    # ps -ef | grep nfsd
    root 101328      0   0   Jul 12 ?         303:25 nfsd_kproc
    root 101327      1   0   Jul 12 ?           2:54 /usr/lib/nfs/nfsd
    root 263149 131084   0 13:59:19 pts/17      0:00 grep nfsd

    주 -  NFS 버전 4에서는 UDP를 지원하지 않습니다.

    서버가 실행 중인 경우 rpcinfo 명령은 UDP 프로토콜과 연결된 버전 번호 및 프로그램을 나열합니다. 또한 rpcinfo에서 –t 옵션을 사용하여 TCP 연결을 확인합니다. 이러한 명령이 실패하면 NFS 서비스를 다시 시작합니다. 자세한 내용은 NFS 서비스를 다시 시작하는 방법을 참조하십시오.

  7. mountd 데몬이 서버에서 실행 중인지 확인합니다.
    # /usr/bin/rpcinfo -t localhost mountd
    program 100005 Version 1 ready and waiting
    program 100005 Version 2 ready and waiting
    program 100005 Version 3 ready and waiting
    # ps -ef | grep mountd
    root    145      1 0 Apr 07  ?     21:57 /usr/lib/autofs/automountd
    root    234      1 0 Apr 07  ?     0:04  /usr/lib/nfs/mountd
    root   3084 2462 1 09:30:20 pts/3  0:00  grep mountd

    서버가 실행 중인 경우 rpcinfo 명령은 UDP 프로토콜과 연결된 버전 번호 및 프로그램을 나열합니다. 또한 rpcinfo에서 –t 옵션을 사용하여 TCP 연결을 확인합니다. 이러한 명령이 실패하면 NFS 서비스를 다시 시작합니다. 자세한 내용은 NFS 서비스를 다시 시작하는 방법을 참조하십시오.