CAFE

filesystem/disk

어떻게 하나의 client에 두개의 지점으로 NFS(v4)파일시스템을 마운트 할 수 있을까?

작성자이누기|작성시간09.08.12|조회수436 목록 댓글 0

어떻게 하나의 client에 두개의 지점으로 NFS(v4)파일시스템을 마운트 할 수 있을까?

by The editorial team

Contributed by Andrew Ryan

Release Found: Red Hat Enterprise Linux 5

이는 같은 클라이언트에 2개의 지점으로 NFSv4 filesystem 을 직접 마운트하는 것은 불가능하다.

대신 같은 기능으로 bind 마운트를 사용하여 두번째 마운트할 지점을 첫번째 마운트 지점에 bind mount를 사용하여

가능하게 할 수 있다.
이를 위해서 아래와 같이 작업해라:

  1. 먼저 마운트 지점을 만들어라:
    [root@host]# mkdir /mnt/nfs4
    
  2. 마운트 지점에 서버를 마운트 해라:
    [root@host]# mount -t nfs4 server:/ /mnt/nfs4
    
  3. NTFSv4 파일시스템은  /mnt/nfs4에 마운트 되었다. 만약 다른 지점에 이 파일시스템을 마운트하는 것이 필요하다면 bind mount는 아래와 같이 사용되어야 한다:

 [root@host]# mkdir /mnt/other_location
[root@host]# mount --bind /mnt/nfs4 /mnt/other_location

 

 NFSv4 파일시스템은 bind mount를 이용하여  /mnt/other_location에 마운트 되었다.

 

 

출처: http://magazine.redhat.com/2007/03/19/how-do-i-mount-an-nfsv4-filesystem-in-two-locations-on-a-single-client/

 

다음검색
현재 게시글 추가 기능 열기

댓글

댓글 리스트
맨위로

카페 검색

카페 검색어 입력폼