• remote device mount 하기
    • Sever 에 nfs setting 하기

    • 필요 module 설치 및 mount 하기

      # 클라이언트에서 - nfs client 설치
      sudo apt-get install nfs-common

      - 마운트해서 사용할 디렉토리
      sudo mkdir [디렉토리]

      - 마운트
      sudo mount -t nfs -o nolock 10.110.50.50:[공유디렉토리경로] [위에서 만든 디렉토리경로]

    • 재부팅 할 때 자동 마운트
      재부팅 할 때 자동 마운트
      nano etc/fstab  아래 추가
      10.110.50.50:/[공유디렉토리경로] [마운트한경로] nfs defaults 0 0
    • Example

      # server ip : 10.110.10.1 # 공유디렉토리이름 : /data # 자신의 local computer 에서 사용할 디렉토리 이름 : /shared # $ sudo mount -t nfs -o nolock 10.110.10.1:/data /shared $ sudo mount -t nfs -o nolock 10.110.50.50:/shared /shared


+ Recent posts