어떻게 하나의 client에 두개의 지점으로 NFS(v4)파일시스템을 마운트 할 수 있을까?
by The editorial team
Contributed by Andrew Ryan
Release Found: Red Hat Enterprise Linux 5
이는 같은 클라이언트에 2개의 지점으로 NFSv4 filesystem 을 직접 마운트하는 것은 불가능하다.
대신 같은 기능으로 bind 마운트를 사용하여 두번째 마운트할 지점을 첫번째 마운트 지점에 bind mount를 사용하여
가능하게 할 수 있다.
이를 위해서 아래와 같이 작업해라:
- 먼저 마운트 지점을 만들어라:
[root@host]# mkdir /mnt/nfs4
- 마운트 지점에 서버를 마운트 해라:
[root@host]# mount -t nfs4 server:/ /mnt/nfs4
- 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에 마운트 되었다.
다음검색