[AIX 네트워크 관리 36] NFS (5) 명시 마운트, automount·AutoFS, 미리 정의한 마운트와 옵션, PC-NFS, LDAP 자동 마운트 맵, WebNFS
https://archive.horanglab.com/posts/aix-net-nfs-5
핵심 정리
- 명시 마운트:
showmount -e 서버로 내보내기 확인(v4 전용 내보내기는 보이지 않음), 빈 마운트 지점을 만들고mount 서버:/원격 /로컬이나smit mknfsmnt. - 자동 마운트:
/etc/auto_master에/키 맵을 적고, 직접 맵(/-), 간접 맵, 호스트 맵(-hosts)을 씁니다. auto_master는 automount를 다시 실행해야 반영되며,startsrc -s automountd는 auto_master 변경을 무시합니다. - 미리 정의한 마운트는
/etc/filesystems스탠자(dev, mount, nodename, vfs=nfs 필수, type, options)로, 부팅 때 마운트하는 것은 bg와 intr를 꼭 넣습니다. 정의 뒤mount -a, 해제는umount, 제거는smit rmnfsmnt. - 기본 옵션:
fg retry=10000 rsize=8192 wsize=8192 timeo=7 retrans=5 hard secure=off acregmin=3 acregmax=60 acdirmin=30 acdirmax=60. 버전은 양쪽이 지원하는 가장 높은 것(v4는 지정해야만), biods 기본은 v2 7개, v3·v4 4개. cio로 마운트하면 mmap·shmat가 안 되어 거기서 바이너리를 실행할 수 없습니다. - PC-NFS: rpc.pcnfsd가 인증과 인쇄 스풀(기본
/var/tmp)을 제공하며 inetd.conf나 rc.nfs로 시작하고rpcinfo -u 호스트 150001로 확인합니다. LDAP 자동 마운트는 irs.conf에automount nis_ldap,nistoldif·ldapmodify로 맵을 관리합니다.
| 항목 | 내용 |
|---|---|
| 버전 | AIX 5.3, AIX 6.1 (두 판의 내용이 거의 같음) |
| 원문 | Networks and communication management — 5.3판 414423쪽, 6.1판 521530쪽 |
| 파일 | /etc/filesystems, /etc/auto_master, /etc/inetd.conf, /etc/rc.nfs, /etc/irs.conf |
| 관련 명령어 | showmount, mount, umount, smit mknfsmnt, smit rmnfsmnt, automount, rpcinfo, nistoldif, ldapmodify |
NFS 디렉터리를 명시적으로 마운트하려면 Web-based System Manager(wsm)나 다음 절차를 씁니다.
- NFS 서버가 디렉터리를 내보냈는지 확인합니다.
showmount -e ServerName
여기서 ServerName은 NFS 서버 이름입니다. 이 명령은 NFS 서버가 지금 내보낸 디렉터리 이름을 보여 줍니다. 마운트하려는 디렉터리가 목록에 없으면 서버에서 디렉터리를 내보냅니다.
참고: showmount 명령은 NFS 버전 4 파일 시스템으로만 내보낸 파일 시스템에는 동작하지 않습니다. NFS 버전 4에서는 클라이언트가 서버의 root 파일 시스템을 마운트하고 내보낸 디렉터리 구조를 따라갈 수 있습니다. 클라이언트가 접근하려고 개별 내보낸 파일 시스템을 명시적으로 마운트할 필요는 없습니다. 2. mkdir 명령으로 로컬 마운트 지점을 만듭니다. NFS가 마운트를 성공적으로 마치려면 NFS 마운트의 마운트 지점(자리 표시) 역할을 하는 빈 디렉터리가 있어야 합니다. 이 마운트 지점은 다른 디렉터리처럼 만들 수 있으며 특별한 속성은 필요 없습니다. 3. 다음을 입력합니다.
mount ServerName :/remote/ directory /local/ directory
여기서 ServerName은 NFS 서버 이름, /remote/directory는 마운트하려는 NFS 서버의 디렉터리, /local/directory는 NFS 클라이언트의 마운트 지점입니다.
4. 클라이언트 기계에서 다음 SMIT 빠른 경로를 입력합니다.
smit mknfsmnt
네트워크 구성에 알맞게 다음 필드를 바꿉니다. 구성에 따라 이 화면의 모든 항목을 채울 필요는 없을 수 있습니다.
참고: SMIT 인터페이스를 쓰면 Tab 키로 각 필드의 올바른 값으로 바꾸되, 7단계를 마칠 때까지 Enter를 누르지 않습니다.
- PATHNAME of mount point
- PATHNAME of remote directory
- HOST where remote directory resides
- MOUNT now, add entry to
/etc/filesystemsor both? /etc/filesystemsentry will mount the directory on system RESTART- MODE for this NFS file system
NFS 구성에 따라 나머지 항목을 바꾸거나 기본값을 씁니다.
이 화면의 변경을 모두 마치면 SMIT가 NFS 파일 시스템을 마운트합니다.
Command: 필드에 OK 상태가 나오면 SMIT를 빠져나옵니다.
이제 NFS 파일 시스템을 쓸 수 있습니다.
영어 원문
Mounting an NFS file system explicitly
To mount an NFS directory explicitly, use the Web-based System Manager, wsm, or use the following procedure:
- Verify that the NFS server has exported the directory:
showmount -e ServerName
where ServerName is the name of the NFS server. This command displays the names of the directories currently exported from the NFS server. If the directory you want to mount is not listed, export the directory from the server.
Note: The showmount command will not work for file systems that were exported only as NFS version 4 file systems. For NFS version 4, the client can mount the root filesystem for the server and traverse the exported directory structure. Individual exported file systems do not have to be explicitly mounted to be accessed by the client.
Establish the local mount point using the mkdir command. A null (empty) directory that acts as the mount point (or place holder) of an NFS mount must be present for NFS to complete a mount successfully. This mount point can be created like any other directory, and no special attributes are needed.
Type:
mount ServerName :/remote/ directory /local/ directory
where ServerName is the name of the NFS server, /remote/directory is the directory on the NFS server you want to mount, and /local/directory is the mount point on the NFS client.
- On the client machine, type the following SMIT fast path:
smit mknfsmnt
- Make changes to the following fields that are appropriate for your network configuration. Your configuration might not require completing all of the entries on this screen.
Note: If the SMIT interface is being used, press the Tab key to change to the correct value for each field, but do not press Enter until completing step 7.
PATHNAME of mount point.
PATHNAME of remote directory.
HOST where remote directory resides.
MOUNT now, add entry to
/etc/filesystemsor both?/etc/filesystemsentry will mount the directory on system RESTART.MODE for this NFS file system.
Change or use the default values for the remaining entries, depending on your NFS configuration.
When you finish making all the changes on this screen, SMIT mounts the NFS file system.
When the Command: field shows the OK status, exit SMIT.
The NFS file system is now ready to use.
automount 하위 시스템
automount 하위 시스템은 root 사용자가 처음 마운트 지점을 지정하면 root가 아닌 사용자도 원격 파일 시스템을 마운트할 수 있게 합니다.
이 정보는 /etc/auto_master 파일에 지정합니다. 키(key)라고 하는 이 마운트 지점에는 어떤 원격 파일 시스템을 그 위에 마운트할지 정하는 맵이 대응합니다. /etc/auto_master 파일의 형식은 다음과 같습니다.
/key map
참고: /etc/auto_master 파일은 automount 명령을 처음 실행할 때 읽으며, 파일을 바꿔도 automount 명령을 다시 실행할 때까지 적용되지 않습니다.
가장 흔한 맵은 직접 맵, 간접 맵, 호스트 맵입니다.
영어 원문
Automount subsystem
The automount subsystem allows non-root users to mount remote file systems once the initial mount points are specified by the root user.
The /etc/auto_master file specifies this information. These mount points, known as keys, have a corresponding maps that determine which remote file system is mounted over it. The format of the /etc/auto_master file is as follows:
/key map
Note: The /etc/auto_master file is read when the automount command is initially executed, and changes to it will not take effect until the automount command is run again.
The most common maps are direct maps, indirect maps, and host maps.
직접 맵
직접 맵에는 /etc/auto_master 파일에 특수 키(/-)가 필요합니다.
맵은 다음 형식의 파일입니다.
/ directkey [- options ] server :/ dir
사용자가 /directkey 디렉터리에 접근하면 automount 데몬이 server:/dir를 /directkey 위에 마운트합니다.
영어 원문
Direct maps
Direct maps require a special key (/-) in the /etc/auto_master file.
The map is a file with the following format:
/ directkey [- options ] server :/ dir
When a user accesses the /directkey directory, the automount daemon will mount server:/dir over /directkey.
간접 맵
마운트 지점 위에 어떤 원격 파일 시스템을 마운트할지 정하는 또 다른 맵이 간접 맵입니다.
간접 맵의 형식은 다음과 같습니다.
indirectkey [- options ] server :/ dir
사용자가 /key/indirectkey 디렉터리에 접근하면 automount 데몬이 server:/dir를 /key/indirectkey 위에 마운트합니다.
영어 원문
Indirect maps
Another kind of map that determines which remote file system is mounted over a mount point is an indirect map.
Indirect maps have the following format:
indirectkey [- options ] server :/ dir
When a user accesses the /key/indirectkey directory, the automount daemon will mount server:/dir over /key/indirectkey.
호스트 맵
호스트 맵에는 /etc/auto_master 파일에 특수 맵(-hosts)이 필요합니다.
automount 데몬은 /etc/hosts 파일에 나열된 서버마다 /key 디렉터리 아래 하위 디렉터리를 만듭니다. 사용자가 /key/server 디렉터리에 접근하면 automount 데몬이 그 서버가 내보낸 디렉터리를 /key/server 디렉터리 위에 마운트합니다.
영어 원문
Host maps
Host maps require a special map (-hosts) in the /etc/auto_master file.
The automount daemon will create a subdirectory under the /key directory for every server listed in the /etc/hosts file. When a user accesses the /key/server directory, the automount daemon will mount the server's exported directories over the /key/server directory.
AutoFS로 파일 시스템 자동 마운트
AutoFS는 automount 명령으로 자동 마운트 구성 정보를 AutoFS 커널 확장에 전파하고 automountd 데몬을 시작합니다.
이 구성 전파로, 확장은 파일 시스템 안의 파일이나 디렉터리가 열릴 때마다 파일 시스템을 자동으로, 투명하게 마운트합니다. 확장은 automountd 데몬에 마운트와 마운트 해제 요청을 알리고, automountd 데몬이 실제로 요청한 서비스를 합니다.
이름과 위치의 바인딩이 automountd 데몬 안에서 동적이므로, automountd 데몬이 쓰는 NIS(Network Information Service) 맵을 갱신해도 사용자에게 투명합니다. 또 파일과 디렉터리 참조가 하드 코딩된 응용 프로그램을 위해 공유 파일 시스템을 미리 마운트할 필요가 없고, 특정 응용 프로그램을 위해 어떤 호스트를 마운트해야 하는지 기록을 유지할 필요도 없습니다.
AutoFS는 필요할 때 파일 시스템을 마운트하게 합니다. 이 방법에서는 모든 파일 시스템을 늘 마운트해 둘 필요 없이, 쓰는 것만 마운트합니다.
예를 들어 NFS 디렉터리를 자동으로 마운트하려면 다음과 같이 합니다.
- 다음을 입력해 NFS 서버가 디렉터리를 내보냈는지 확인합니다.
showmount -e ServerName
여기서 ServerName은 NFS 서버 이름입니다. 이 명령은 NFS 서버가 지금 내보낸 디렉터리 이름을 보여 줍니다.
2. AutoFS 마스터 파일과 맵 파일을 만듭니다. AutoFS는 이 맵 파일에 지정한 디렉터리를 마운트하고 마운트 해제합니다. 예를 들어 AutoFS가 serve1 서버의 /local/dir1과 /local/dir2 디렉터리를 필요할 때 각각 /remote/dir1과 /remote/dir2 디렉터리에 마운트하게 하려 한다고 합니다. auto_master 파일 항목은 다음과 같습니다.
/remote /tmp/mount.map
/tmp/mount.map 파일 항목은 다음과 같습니다.
dir1 -rw serve1:/local/dir1
dir2 -rw serve1:/local/dir2
AutoFS 커널 확장이 올라와 있고 automountd 데몬이 실행 중인지 확인합니다. 두 가지 방법이 있습니다.
automount 명령 사용:
/usr/bin/automount -v를 실행합니다.SRC 사용:
lssrc -s automountd를 실행합니다. automountd subsystem이 실행 중이 아니면startsrc -s automountd를 실행합니다.
참고: startsrc 명령으로 automountd 데몬을 시작하면
auto_master파일에 한 변경을 무시합니다.automount 데몬을 멈추려면
stopsrc -s automountd명령을 실행합니다. 어떤 이유로 automountd 데몬을 SRC 없이 시작했다면 다음을 실행합니다.
kill automountd_PID
여기서 automountd_PID는 automountd 데몬의 프로세스 ID입니다. (ps -e 명령을 실행하면 automountd 데몬의 프로세스 ID가 나옵니다.) kill 명령은 automountd 데몬에 SIGTERM 신호를 보냅니다.
영어 원문
Using AutoFS to automatically mount a file system
AutoFS relies on the use of the automount command to propagate the automatic mount configuration information to the AutoFS kernel extension and start the automountd daemon.
Through this configuration propagation, the extension automatically and transparently mounts file systems whenever a file or a directory within that file system is opened. The extension informs the automountd daemon of mount and unmount requests, and the automountd daemon actually performs the requested service.
Because the name-to-location binding is dynamic within the automountd daemon, updates to a Network Information Service (NIS) map used by the automountd daemon are transparent to the user. Also, there is no need to premount shared file systems for applications that have hard-coded references to files and directories, nor is there a need to maintain records of which hosts must be mounted for particular applications.
AutoFS allows file systems to be mounted as needed. With this method of mounting directories, all file systems do not need to be mounted all of the time; only those being used are mounted.
For example, to mount an NFS directory automatically:
- Verify that the NFS server has exported the directory by entering:
showmount -e ServerName
where ServerName is the name of the NFS server. This command displays the names of the directories currently exported from the NFS server.
- Create an AutoFS master file and map file. AutoFS mounts and unmounts the directories specified in these map files. For example, suppose you want AutoFS to mount the
/local/dir1and/local/dir2directories as needed from the serve1 server onto the/remote/dir1and/remote/dir2directories, respectively. Theauto_masterfile entry would be as follows:
/remote /tmp/mount.map
The /tmp/mount.map file entry would be as follows:
dir1 -rw serve1:/local/dir1
dir2 -rw serve1:/local/dir2
- Ensure that the AutoFS kernel extension is loaded and the automountd daemon is running. This can be accomplished in two ways: a. Using the automount command: Issue
/usr/bin/automount -v. b. Using SRC: Issuelssrc -s automountd. If the automountd subsystem is not running, issuestartsrc -s automountd.
Note: Starting the automountd daemon with the startsrc command will ignore any changes that have been made to the auto_master file.
- To stop the automount daemon, issue the
stopsrc -s automountdcommand. If, for some reason, the automountd daemon was started without the use of SRC, issue:
kill automountd_PID
where automountd_PID is the process ID of the automountd daemon. (Running the ps -e command displays the process ID of the automountd daemon.) The kill command sends a SIGTERM signal to the automountd daemon.
미리 정의한 NFS 마운트 만들기
Web-based System Manager의 Network 응용 프로그램이나 다음 절차 가운데 하나로 미리 정의한 NFS 마운트를 만들 수 있습니다.
참고: 시스템 시작 때 마운트하는 미리 정의한 마운트를 만들 때는 /etc/filesystems 파일에 bg(백그라운드)와 intr(인터럽트 가능) 옵션을 정의합니다. 인터럽트할 수 없고 포그라운드에서 실행되는 마운트는 클라이언트 시스템이 시작할 때 네트워크나 서버가 꺼져 있으면 클라이언트를 멈추게 할 수 있습니다. 클라이언트가 네트워크나 서버에 접근할 수 없으면 사용자는 유지 보수 모드로 기계를 다시 시작해 해당 마운트 요청을 고쳐야 합니다.
SMIT로 미리 정의한 마운트 만들기
- 다음을 입력합니다.
smit mknfsmnt
- 미리 정의할 마운트마다 이 화면에 값을 지정합니다. 필수 필드(왼쪽 여백에 별표가 있는 필드)마다 값을 지정합니다. 다른 필드도 값을 지정하거나 기본값을 받아들입니다. 이 방법은 원하는 마운트의 항목을
/etc/filesystems파일에 만들고 마운트를 시도합니다.
/etc/filesystems 파일을 편집해 NFS 기본 마운트 만들기
- 텍스트 편집기로
/etc/filesystems파일을 엽니다. - 시스템이 시작할 때 마운트할 원격 파일 시스템마다 항목을 더합니다. 예:
/home/jdoe:
dev = /home/jdoe
mount = false
vfs = nfs
nodename = mach2
options = ro,soft
type = nfs_mount
이 스탠자는 시스템이 원격 디렉터리 /home/jdoe를 같은 이름의 로컬 마운트 지점 위에 마운트하게 합니다. 파일 시스템은 읽기 전용(ro)으로 마운트됩니다. soft로도 마운트되므로 서버가 응답하지 않으면 오류가 돌아옵니다. type 매개변수를 nfs_mount로 지정했으므로, mount -t nfs_mount 명령을 실행하면 시스템이 /home/jdoe 파일 시스템을 (type = nfs_mount 그룹에 지정한 다른 파일 시스템과 함께) 마운트하려 합니다. 아래 예 스탠자는 시스템 시작 때 /usr/games 파일 시스템을 마운트하게 합니다. 마운트가 실패하면 시스템은 백그라운드에서 계속 마운트를 시도합니다.
/usr/games:
dev = /usr/games
mount = true
vfs = nfs
nodename = gameserver
options = ro,soft,bg
type = nfs_mount
NFS 마운트 스탠자에 필요한 매개변수는 다음과 같습니다.
dev=filesystem_name: 마운트할 원격 파일 시스템의 경로 이름을 지정합니다.mount=true또는mount=false:true면 시스템이 부팅할 때 NFS 파일 시스템을 마운트합니다.false면 부팅할 때 마운트하지 않습니다.nodename=hostname: 원격 파일 시스템이 있는 호스트 기계를 지정합니다.vfs=nfs: 마운트할 가상 파일 시스템이 NFS 파일 시스템임을 지정합니다.
NFS 마운트 스탠자의 선택 매개변수는 다음과 같습니다.
type=type_name: 마운트할 파일 시스템을type_name마운트 그룹의 일부로 정의합니다. 이 매개변수는 지정한 파일 시스템 묶음을 한꺼번에 마운트하는mount -t명령과 함께 씁니다.options=options: 아래 옵션 매개변수를 하나 이상 지정합니다.
| 옵션 | 설명 |
|---|---|
biods=N |
쓸 biod 데몬의 최대 수. 기본값은 NFS 버전 2는 7, NFS 버전 3과 4는 4입니다. |
bg |
첫 마운트 시도가 실패하면 백그라운드에서 마운트를 다시 시도합니다. |
fg |
첫 마운트 시도가 실패하면 포그라운드에서 마운트를 다시 시도합니다. |
noacl |
이 마운트에 한해 NFS JFS가 제공하는 ACL(Access Control List) 지원을 끕니다. 두 시스템 사이에서 NFS는 ACL을 지원합니다. 파일 시스템을 마운트할 때 noacl을 쓰면 NFS는 ACL을 쓰지 않습니다. 효과는 ACL을 지원하지 않는 NFS 서버에서 마운트할 때와 같습니다. ACL은 NFS ACL 지원을 봅니다. |
retry=n |
마운트를 시도할 횟수 |
rsize=n |
읽기 버퍼 크기를 n바이트로 설정합니다. |
wsize=n |
쓰기 버퍼 크기를 n바이트로 설정합니다. |
timeo=n |
NFS 시간 제한을 n(0.1초 단위)으로 설정합니다. 서버 부하로 응답 시간이 모자랄 수 있는 네트워크의 상황을 피하는 데 씁니다. |
retrans=n |
NFS 재전송 횟수를 n으로 설정합니다. |
port=n |
서버 포트를 n으로 설정합니다. |
soft |
서버가 응답하지 않으면 오류를 돌려줍니다. |
hard |
서버가 응답할 때까지 요청을 계속 시도합니다. 참고: hard 마운트를 지정하면 응답을 기다리며 프로세스가 멈출 수 있습니다. 키보드로 프로세스를 인터럽트해 끝내려면 마운트 옵션에 intr를 씁니다. |
intr |
hard 마운트에서 키보드 인터럽트를 허용합니다. |
ro |
읽기 전용으로 설정합니다. |
rw |
읽기-쓰기로 설정합니다. soft 마운트를 읽기-쓰기로 시도할 때 응용 프로그램과 충돌할 수 있는 오류 상태를 피하려면 이 옵션과 함께 hard를 씁니다. hard·soft 마운트 문제는 NFS 문제 해결을 봅니다. |
secure |
NFS 트랜잭션에 더 안전한 프로토콜을 씁니다. |
sec |
NFS 마운트의 보안 방식 목록을 지정합니다. 쓸 수 있는 방식은 des, unix, sys, krb5, krb5i, krb5p입니다. 이 옵션은 AIX 5.3 이후에만 적용됩니다. |
actimeo=n |
일반 파일과 디렉터리 모두의 flush 시간을 n초 늘립니다. 참고: 속성 캐시는 클라이언트에 파일 속성을 보관합니다. 파일 속성에는 지워질 시간이 정해집니다. flush 시간 전에 파일이 바뀌면 flush 시간이 이전 수정 뒤 지난 시간만큼 늘어납니다(최근 바뀐 파일은 곧 다시 바뀔 가능성이 크다는 가정). 일반 파일과 디렉터리에 최소·최대 flush 시간 연장이 있습니다. |
vers |
NFS 버전. 기본은 클라이언트와 서버가 모두 쓸 수 있는 가장 높은 NFS 프로토콜 버전입니다. NFS 서버가 NFS 버전 3을 지원하지 않으면 버전 2로 마운트합니다. vers 옵션으로 버전을 고릅니다. 지정하지 않으면 NFS 마운트는 NFS 버전 4를 쓰지 않습니다. |
acregmin=n |
파일 수정 뒤 적어도 n초 동안 캐시된 속성을 보관합니다. |
acregmax=n |
파일 수정 뒤 최대 n초 동안만 캐시된 속성을 보관합니다. |
acdirmin=n |
디렉터리 갱신 뒤 적어도 n초 동안 캐시된 속성을 보관합니다. |
acdirmax=n |
디렉터리 갱신 뒤 최대 n초 동안만 캐시된 속성을 보관합니다. |
cio |
동시 읽기·쓰기용으로 파일 시스템을 마운트합니다. 이 파일 시스템의 파일 I/O는 open() 시스템 호출에 O_CIO를 지정한 것처럼 동작합니다. 이 옵션을 쓰면 CIO가 아닌 어떤 방식의 접근도 막힙니다. cio로 마운트한 파일 시스템에서는 캐시 I/O를 쓸 수 없습니다. 곧 mmap()과 shmat() 같은 매핑 명령은 cio로 마운트한 파일 시스템의 파일에 쓰면 EINVAL로 실패합니다. 부작용으로 로더가 mmap()을 쓸 수 있으므로 cio로 마운트한 파일 시스템에서 바이너리를 실행할 수 없습니다. |
dio |
파일 시스템의 I/O가 모든 파일을 open() 시스템 호출에 O_DIRECT를 지정해 연 것처럼 동작합니다. 참고: -odio나 -ocio는 일부 작업 부하의 성능을 높일 수 있지만 이 파일 시스템의 파일 캐시를 막습니다. 미리 읽기가 꺼지므로 큰 순차 읽기 성능은 떨어질 수 있습니다. |
maxpout=n |
이 파일 시스템의 파일에서 스레드를 잠재울 page-out 수준. maxpout을 지정하면 minpout도 지정해야 합니다. 음수가 아니고 minpout보다 커야 합니다. 기본값은 커널 maxpout 수준입니다. |
minpout=n |
이 파일 시스템의 파일에서 스레드를 깨울 page-out 수준. minpout을 지정하면 maxpout도 지정해야 합니다. 음수가 아니어야 합니다. 기본값은 커널 minpout 수준입니다. |
rbr |
읽을 때 뒤에서 놓아 주는(release-behind-when-reading) 기능을 씁니다. 이 파일 시스템에서 파일의 순차 읽기가 감지되면, 파일이 쓰던 실제 메모리 페이지를 내부 버퍼로 복사한 뒤 놓아 줍니다. |
참고: 다음 옵션을 설정하지 않으면 커널이 자동으로 다음 기본값으로 설정합니다. fg retry=10000 rsize=8192 wsize=8192 timeo=7 retrans=5 port=NFS_PORT hard secure=off acregmin=3 acregmax=60 acdirmin=30 acdirmax=60
3. 시스템 시작 때 자동으로 마운트하고 싶지 않은 디렉터리 항목을 지웁니다.
4. 파일을 저장하고 닫습니다.
5. mount -a 명령을 실행해 /etc/filesystems 파일에 지정한 모든 디렉터리를 마운트합니다.
영어 원문
Establishing predefined NFS mounts
You can establish predefined NFS mounts using the Web-based System Manager Network application, or you can use one of the following procedures.
Note: Define the bg (background) and intr (interruptible) options in the /etc/filesystems file when establishing a predefined mount that is mounted during system startup. Mounts that are noninterruptible and running in the foreground can hang the client if the network or server is down when the client system starts up. If a client cannot access the network or server, the user must start the machine again in maintenance mode and edit the appropriate mount requests.
- To establish predefined mounts through SMIT:
- Type:
smit mknfsmnt
- Specify values in this screen for each mount you want to predefine. Specify a value for each required field (those marked with an asterisk (
*) in the left margin). Also specify values for the other fields or accept their default values. This method creates an entry in the/etc/filesystemsfile for the desired mount and attempts the mount.
- To establish the NFS default mounts by editing the
/etc/filesystemsfile:
Open the
/etc/filesystemsfile with a text editor.Add entries for each of the remote file systems to be mounted when the system is started. For example:
/home/jdoe:
dev = /home/jdoe
mount = false
vfs = nfs
nodename = mach2
options = ro,soft
type = nfs_mount
This stanza directs the system to mount the /home/jdoe remote directory over the local mount point of the same name. The file system is mounted as read-only (ro). Because it is also mounted as soft, an error is returned in the event the server does not respond. By specifying the type parameter as nfs_mount, the system attempts to mount the /home/jdoe file (along with any other file systems that are specified in the type = nfs_mount group) when the mount -t nfs_mount command is issued. The example stanza below directs the system to mount the /usr/games file system at system startup time. If the mount fails, the system continues to attempt to mount in the background.
/usr/games:
dev = /usr/games
mount = true
vfs = nfs
nodename = gameserver
options = ro,soft,bg
type = nfs_mount
The following parameters are required for stanzas pertaining to NFS mounts:
dev=filesystem_name— Specifies the path name of the remote file system being mounted.mount=[true|false]— Iftruethe NFS file system is mounted when the system boots. Iffalse, the NFS file system is not be mounted when the system boots.nodename=hostname— Specifies the host machine on which the remote file system resides.vfs=nfs— Specifies that the virtual file system being mounted is an NFS file system.
The following parameters are optional for stanzas pertaining to NFS mounts:
type=type_name— Defines the file system being mounted as part of thetype_namemount group. This parameter is used with the mount -t command, which mounts groups of specified file systems at the same time.options=options— Specifies one or more of the following options parameters:biods=NSpecifies the maximum number of biod daemons to use. The default is seven for NFS version 2, and four for NFS version 3 and version 4.bgSpecifies to try the mount again in the background if the first mount attempt fails.fgSpecifies to try the mount again in the foreground if the first mount attempt fails.noaclDisables, for this mount only, the Access Control List (ACL) support provided by the NFS journaled file system. When used between two systems, NFS supports access control lists. If thenoacloption is used when mounting a file system, NFS does not use ACLs. The effect of thenoacloption equals what happens when an NFS client on a system mounts from an NFS server that does not support ACLs. For more information about ACLs, refer to “NFS Access Control Lists support” on page 493.retry=nSets the number of times to try the mount.rsize=nSets the read buffer size to the number of bytes specified by n.wsize=nSets the write buffer size to the number of bytes specified by n.timeo=nSets the NFS time out to the tenths of a second specified by n. Use this variable to avoid situations that can occur in networks where the server load can cause inadequate response time.retrans=nSets the number of NFS retransmissions to the number specified by n.port=nSets the server port to the number specified by n.softReturns an error if the server does not respond.hardContinues to try the request until the server responds. Note: When you specify ahardmount, it is possible that the process can hang while waiting for a response. To be able to interrupt the process and end it from the keyboard, use theintrvariable in the mount variables.intrAllows keyboard interrupts on hard mounts.roSets the read-only variable.rwSets the read-write variable. Use thehardvariable along with this variable to avoid error conditions that can conflict with applications if asoftmount is attempted as read-write. See “NFS troubleshooting” on page 534 for information on hard- and soft-mounted problems.secureSpecifies to use a more secure protocol for NFS transactions.secThe sec option specifies the security flavor list for the NFS mount. The available flavors are des, unix, sys, krb5, krb5i, and krb5p. This option only applies to AIX 5.3 or later.actimeo=nExtends flush time by n seconds for both regular files and directories. Note: The attribute cache retains file attributes on the client. Attributes for a file are assigned a time to be erased. If the file is modified before the flush time, then the flush time is extended by the time since the previous modification (under the assumption that recently changed files are likely to change again soon). There are minimum and maximum flush time extensions for regular files and for directories.versSpecifies NFS version. The default is the version of NFS protocol used between the client and server and is the highest one available on both systems. If the NFS server does not support NFS Version 3, the NFS mount will use NFS Version 2. Use the vers option to select the NFS version. By default, the NFS mount will never use NFS Version 4 unless specified.acregmin=nHolds cached attributes for at least n seconds after file modification.acregmax=nHolds cached attributes for no more than n seconds after file modification.acdirmin=nHolds cached attributes for at least n seconds after directory update.acdirmax=nHolds cached attributes for no more than n seconds after directory update. cio Specifies the file system to be mounted for concurrent readers and writers. I/O on files in this file system will behave as if they had been opened withO_CIOspecified in the open() system call. Using this option will prevent access in any manner other than CIO. It is impossible to use cached I/O on a file system mounted with the cio option. This means that mapping commands such as mmap() and shmat() will fail with EINVAL when used on any file in a file system mounted with the cio option. One side effect of this is that it is impossible to run binaries out of a cio-mounted file system, since the loader may use mmap(). dio Specifies that I/O on the file system will behave as if all the files had been opened withO_DIRECTspecified in the open() system call. Note: Using the-odioor-ocioflags can help performance on certain workloads, but users should be aware that using these flags will prevent file caching for these file systems. Because readahead is disabled for these file systems, this may decrease performance for large sequential reads.maxpout=nSpecifies the page-out level for files on this file system at which threads should be slept. If maxpout is specified, you must also specify minpout. This value must be nonnegative and greater than minpout. The default is the kernel maxpout level.minpout=nSpecifies the page-out level for files on this file system at which threads should be readied. If minpout is specified, you must also specify maxpout. This value must be nonnegative. The default is the kernel minpout level.rbrUses the release-behind-when-reading capability. When sequential reading of a file in this file system is detected, the real memory pages used by the file are released once the pages are copied to internal buffers. Note: If you do not set the following options, the kernel automatically sets them to these default values:fg retry=10000 rsize=8192 wsize=8192 timeo=7 retrans=5 port=NFS_PORT hard secure=off acregmin=3 acregmax=60 acdirmin=30 acdirmax=60
Remove any directory entries that you do not want to mount automatically at system startup.
Save and close the file.
Run the mount -a command to mount all the directories specified in the
/etc/filesystemsfile.
명시적·자동으로 마운트한 파일 시스템 마운트 해제
다음 절차로 명시적으로나 자동으로 마운트한 NFS 디렉터리를 마운트 해제할 수 있습니다.
명시적으로나 자동으로 마운트한 NFS 디렉터리를 마운트 해제하려면 다음을 입력합니다.
umount /directory/to/unmount
영어 원문
Unmounting an explicitly or automatically mounted file system
The following procedure can be used to unmount an explicitly or automatically mounted NFS directory.
To unmount an explicitly or automatically mounted NFS directory, type:
umount /directory/to/unmount
미리 정의한 NFS 마운트 제거
Web-based System Manager의 Network 응용 프로그램이나 다음 절차 가운데 하나로 미리 정의한 NFS 마운트를 지울 수 있습니다.
SMIT로 제거
- 다음을 입력합니다.
smit rmnfsmnt
/etc/filesystems 파일을 편집해 제거
umount /directory/to/unmount명령을 입력합니다.- 좋아하는 편집기로
/etc/filesystems파일을 엽니다. - 방금 마운트 해제한 디렉터리의 항목을 찾아 지웁니다.
- 파일을 저장하고 닫습니다.
영어 원문
Removing predefined NFS mounts
You can remove a predefined NFS mount using the Web-based System Manager Network application, or you can use one of the following procedures.
- To remove a predefined NFS mount through SMIT:
- Type:
smit rmnfsmnt
- To remove a predefined NFS mount by editing the
/etc/filesystemsfile:
Enter the command:
umount /directory/to/unmount.Open the
/etc/filesystemsfile with your favorite editor.Find the entry for the directory you just unmounted, and then delete it.
Save and close the file.
PC-NFS
PC-NFS는 개인용 컴퓨터가 NFS 서버가 내보낸 파일 시스템을 마운트하게 하는 개인용 컴퓨터용 프로그램입니다.
개인용 컴퓨터는 NFS 서버에 네트워크 주소와 호스트 이름을 요청할 수도 있습니다. 또 NFS 서버가 rpc.pcnfsd 데몬을 실행하고 있으면 개인용 컴퓨터가 인증과 인쇄 스풀 서비스에 접근할 수 있습니다.
다음 시스템에 rpc.pcnfsd 데몬을 구성하고 싶을 수 있습니다.
- 사용자 인증 서비스를 하는 시스템
- 인쇄 스풀을 제공하는 시스템
- 모든 NIS(Network Information Service) 마스터와 슬레이브 서버
참고: NIS 네트워크는 보통 PC-NFS가 아무 NIS 서버나 기본 서버로 고를 수 있도록 구성하므로, 모든 서버에서 rpc.pcnfsd 데몬을 실행하는 것이 중요합니다. 모든 NIS 서버에서 이 데몬을 실행하는 것이 실용적이지 않거나 요청을 특정 서버로 제한하려면, 각 개인용 컴퓨터의 autoexec.bat 파일에 net pcnfsd 명령을 더해 특정 NIS 서버를 쓰게 합니다. 자세한 정보는 Network Information Services (NIS and NIS+) Guide를 봅니다.
영어 원문
PC-NFS
PC-NFS is a program for personal computers that enables the personal computer to mount file systems exported by a Network File System (NFS) server.
The personal computer can also request network addresses and host names from the NFS server. Additionally, if the NFS server is running the rpc.pcnfsd daemon, the personal computer can access authentication and print-spooling services.
You might want to configure the rpc.pcnfsd daemon on the following:
Systems that perform user authentication services
Systems that offer print-spooling
All Network Information Service (NIS) master and slave servers.
Note: Because NIS networks are typically configured so that PC-NFS can pick any NIS server as the default server, it is important that all servers have the rpc.pcnfsd daemon running. If running this daemon on all NIS servers is not practical, or if you want to limit requests to a specific server, add a net pcnfsd command to the autoexec.bat file on each personal computer to force it to use a specific NIS server. For more information, see Network Information Services (NIS and NIS+) Guide.
PC-NFS 인증 서비스
기본으로 PC-NFS는 NFS 서버에 nobody 사용자로 나타납니다. nobody 권한으로는 모든 개인용 컴퓨터 사용자의 파일이 nobody 소유로 보이므로 서로 다른 개인용 컴퓨터 사용자를 구분할 수 없습니다.
rpc.pcnfsd 데몬의 인증 기능은 개별 사용자를 알아보고 서로 다른 권한을 주어 시스템 자원과 보안을 감시하게 합니다.
rpc.pcnfsd 데몬이 실행 중이면 PC-NFS 사용자는 개인용 컴퓨터에서 net name 명령으로, 이 운영 체제에 로그인하는 것과 같은 방식으로 PC-NFS에 로그인할 수 있습니다. 사용자 이름과 비밀번호는 rpc.pcnfsd 데몬이 확인합니다. 이 인증 절차가 서버를 더 안전하게 하지는 않지만, NFS로 쓸 수 있는 파일의 접근을 더 많이 제어하게 합니다.
영어 원문
PC-NFS authentication service
By default, PC-NFS presents itself to NFS servers as the nobody user. With nobody privileges, all personal computer user files appear as owned by nobody, and consequently you cannot distinguish between different personal computer users.
The authentication capability of the rpc.pcnfsd daemon allow you to monitor system resources and security by recognizing individual users and assigning them different privileges.
With the rpc.pcnfsd daemon running, a PC-NFS user can issue the net name command from a personal computer to log in to PC-NFS in the same manner as a user can log in to this operating system. The user name and password are verified by the rpc.pcnfsd daemon. This authentication procedure does not make a server more secure, but it does provide more control over access to files that are available through NFS.
PC-NFS 인쇄 스풀 서비스
rpc.pcnfsd 데몬의 인쇄 스풀 서비스는 PC-NFS를 실행하는 개인용 컴퓨터가 개인용 컴퓨터에 직접 연결되지 않은 프린터로 인쇄하게 합니다.
구체적으로 PC-NFS는 개인용 컴퓨터 프린터로 갈 파일을 NFS 서버의 파일로 돌립니다. 이 파일은 NFS 서버의 스풀 디렉터리에 놓입니다. 그런 다음 rpc.pcnfsd 데몬이 서버의 인쇄 기능을 호출합니다. (PC-NFS 클라이언트가 마운트할 수 있도록 스풀 디렉터리는 내보낸 파일 시스템에 있어야 합니다.) PC-NFS가 rpc.pcnfsd 데몬에 파일 인쇄를 요청할 때 다음 정보를 줍니다.
- 인쇄할 파일 이름
- 클라이언트의 사용자 로그인 ID
- 쓸 프린터 이름
영어 원문
PC-NFS print-spooling service
The print-spooling service of the rpc.pcnfsd daemon enables personal computers running PC-NFS to print to printers not directly attached to the personal computer.
Specifically, PC-NFS redirects files intended for personal computer printers to a file on an NFS server. This file is placed in a spool directory on the NFS server. The rpc.pcnfsd daemon then invokes the server printing facility. (The spooling directory must be in an exported file system so that PC-NFS clients can mount it.) When PC-NFS requests that the rpc.pcnfsd daemon print the file, it provides the following information:
Name of the file to be printed
Login ID of the user on the client
Name of the printer to be used.
rpc.pcnfsd 데몬 구성
가장 좋은 성능을 위해 다음 단계로 rpc.pcnfsd 데몬을 구성합니다.
- 개인용 컴퓨터에 PC-NFS 프로그램을 설치합니다.
- NFS 서버에서 스풀 디렉터리 위치를 고릅니다. 기본 스풀 디렉터리는
/var/tmp입니다. 스풀 디렉터리에는 적어도 100K바이트의 빈 공간이 있어야 합니다. - 스풀 디렉터리를 내보냅니다. 네트워크에서 접근 문제를 일으킬 수 있는 접근 제한을 내보낸 디렉터리에 두지 않습니다. 이 절차의 자세한 내용은 NFS 파일 시스템 내보내기를 봅니다.
- rpc.pcnfsd 데몬 시작의 지시에 따라 rpc.pcnfsd 데몬을 시작합니다.
- rpc.pcnfsd 데몬 접근 확인의 지시에 따라 rpc.pcnfsd 데몬에 접근할 수 있는지 확인합니다.
참고: 프린터 리디렉션 요청 때문에 PC-NFS 스풀 디렉터리에 길이 0인 파일 목록이 남을 때가 있으므로, 스풀 디렉터리에서 이런 항목을 주기적으로 지웁니다.
영어 원문
Configuring the rpc.pcnfsd daemon
For the best performance, configure the rpc.pcnfsd daemon using these steps.
To configure the rpc.pcnfsd daemon:
Install PC-NFS program on your personal computer.
Select a location for the spool directory on the NFS server. The default spool directory is
/var/tmp. The spool directory must have at least 100K bytes of free space.Export the spool directory. Do not put access restrictions on the exported directory that could cause access problems in your network. For details of this procedure, see Exporting an NFS file system.
Start the rpc.pcnfsd daemon by following the instructions in Starting the rpc.pcnfsd daemon.
Verify that the rpc.pcnfsd daemon is accessible by following the instructions in “Verifying the rpc.pcnfsd daemon is accessible”.
Note: Because printer-redirection requests sometimes cause file listings of zero length to be left in the PC-NFS spool directories, periodically clear spooling directories of these entries.
rpc.pcnfsd 데몬 시작
기본 스풀 디렉터리로 rpc.pcnfsd 데몬을 시작하려면 다음 절차를 씁니다.
- 텍스트 편집기로
/etc/inetd.conf파일의 다음 항목에서 주석을 없앱니다.
pcnfsd sunrpc_udp udp wait root /usr/sbin/rpc.pcnfsd pcnfsd 150001 1
- 파일을 저장하고 텍스트 편집기를 빠져나옵니다.
기본이 아닌 디렉터리로 rpc.pcnfsd 데몬을 시작하려면:
- 텍스트 편집기로
/etc/rc.nfs파일에 다음 항목을 더합니다.
if [ -f /usr/sbin/rpc.pcnfsd ] ; then
/usr/sbin/rpc.pcnfsd -s spooldir ; echo ’ rpc.pcnfsd\c’
fi
여기서 spooldir는 스풀 디렉터리의 전체 경로 이름을 지정합니다.
2. 파일을 저장하고 텍스트 편집기를 빠져나옵니다.
3. 텍스트 편집기로 /etc/inetd.conf 파일의 다음 항목을 주석 처리합니다.
#pcnfsd sunrpc_udp udp wait root /usr/sbin/rpc.pcnfsd pcnfsd 150001 1
줄 앞에 파운드 기호(#)를 두면 inetd 데몬이 기본 스풀 디렉터리로 rpc.pcnfsd 데몬을 시작하지 않습니다. 4. 명령행에서 다음을 입력해 rpc.pcnfsd 데몬 인쇄 스풀러를 시작합니다.
/usr/sbin/rpc.pcnfsd -s spooldir
여기서 spooldir는 스풀 디렉터리의 전체 경로 이름을 지정합니다.
inetd 구성 데이터베이스 갱신에 관한 자세한 정보는 inetd 데몬 구성을 봅니다.
참고: rpc.pcnfsd 데몬이 쓰는 기본 디렉터리는 inetd.conf 파일에서 바꿀 수 없습니다.
영어 원문
Starting the rpc.pcnfsd daemon
To start the rpc.pcnfsd daemon using the default spooling directory, use the following procedure.
- With a text editor, uncomment the following entry in the
/etc/inetd.conffile:
pcnfsd sunrpc_udp udp wait root /usr/sbin/rpc.pcnfsd pcnfsd 150001 1
- Save the file and exit the text editor.
To start the rpc.pcnfsd daemon using a directory that is different from the default:
- Use a text editor to add the following entry to the
/etc/rc.nfsfile:
if [ -f /usr/sbin/rpc.pcnfsd ] ; then
/usr/sbin/rpc.pcnfsd -s spooldir ; echo ’ rpc.pcnfsd\c’
fi
where spooldir specifies the full path name of the spool directory.
Save the file and exit the text editor.
Using a text editor, comment the following entry in the
/etc/inetd.conffile:
#pcnfsd sunrpc_udp udp wait root /usr/sbin/rpc.pcnfsd pcnfsd 150001 1
Placing a pound sign (#) at the beginning of the line prevents the inetd daemon from starting the rpc.pcnfsd daemon using the default spool directory.
- Start the rpc.pcnfsd daemon print spooler by typing the following at the command line:
/usr/sbin/rpc.pcnfsd -s spooldir
where spooldir specifies the full path name of the spool directory.
For more information on updating the inetd configuration database, see Configuring the inetd daemon.
Note: The default directory that the rpc.pcnfsd daemon uses cannot be changed from the inetd.conf file.
rpc.pcnfsd 데몬 접근 확인
rpc.pcnfsd 데몬에 접근할 수 있는지 판단하는 절차입니다.
rpc.pcnfsd 데몬에 접근할 수 있는지 확인하려면 다음을 입력합니다.
rpcinfo -u host 150001
여기서 host는 rpc.pcnfsd를 구성하는 시스템의 호스트 이름이고, 150001은 rpc.pcnfsd 데몬의 RPC 프로그램 번호입니다. 명령을 입력하면 프로그램이 준비되어 기다리고 있다는 메시지를 받습니다.
영어 원문
Verifying the rpc.pcnfsd daemon is accessible
Follow this procedure to determine whether the rpc.pcnfsd daemon is accessible.
To verify that the rpc.pcnfsd daemon is accessible, type:
rpcinfo -u host 150001
where host specifies the host name of the system on which you are configuring rpc.pcnfsd, and 15001 is the RPC program number of the rpc.pcnfsd daemon. After you enter the command, you will receive a message that the program is ready and waiting.
LDAP 자동 마운트 맵
automount 하위 시스템이 LDAP 서버에서 맵을 가져오도록 구성할 수 있습니다.
LDAP에서 자동 마운트 맵을 관리하려면 /etc/irs.conf 파일에 다음 줄을 더합니다.
automount nis_ldap
LDAP에서 자동 마운트 맵을 관리하려면 알맞은 LDIF 파일을 만들어야 합니다. nistoldif 명령으로 로컬 자동 마운트 맵 파일을 LDIF 형식으로 바꿀 수 있습니다. 예를 들어 LDAP 서버 이름이 ldapserver이고 기본 접미사가 dc=suffix이며, /etc/auto_home 맵 파일에 다음 줄이 있다고 합니다.
user1 server1:/home/user1
user2 server1:/home/user2
user3 server1:/home/user3
다음 명령으로 /etc/auto_home 맵 파일의 LDIF 파일을 만들어 LDAP 서버에 더합니다.
nistoldif -d dc=suffix -sa -f /etc/auto_home > /tmp/auto_home.ldif
ldapadd -D cn=admin -w passwd -h ldapserver -f /tmp/auto_home.ldif
LDAP 서버에서 기존 자동 마운트 항목을 고치거나 지우려면 LDIF 파일을 직접 만들어야 합니다. 예를 들어 user2의 홈 디렉터리가 이제 server2에 있다면 다음 LDIF를 만들어야 합니다.
# cat /tmp/ch_user2.ldif
dn: automountKey=user2,automountMapName=auto_home,dc=suffix
changetype: modify
replace: automountInformation
automountInformation: server2:/home/user2
위 LDIF를 만든 뒤 다음 명령을 실행합니다.
ldapmodify -D cn=admin -w passwd -h ldapserver -f /tmp/ch_user2.ldif
사용자를 지우는 LDIF 파일도 만들어야 합니다. 예를 들어 user3을 지우려면 다음 LDIF를 만듭니다.
# cat /tmp/rm_user3.ldif
dn: automountKey=user3,automountMapName=auto_home,dc=suffix
changetype: delete
위 LDIF를 만든 뒤 다음 명령을 실행합니다.
ldapmodify -D cn=admin -w passwd -h ldapserver -f /tmp/rm_user3.ldif
영어 원문
LDAP automount maps
You can configure the automount subsystem to retrieve its maps from an LDAP server.
To administer automount maps in LDAP, add the following line to the /etc/irs.conf file:
automount nis_ldap
In order to administer automount maps in LDAP, you need to create the appropriate LDIF files. You can convert local automount map files to LDIF format using the nistoldif command. As an example, if the LDAP server is named ldapserver, then its base suffix is dc=suffix, and the /etc/auto_home map file contains the following lines:
user1 server1:/home/user1
user2 server1:/home/user2
user3 server1:/home/user3
Use the following commands to create the LDIF file for the /etc/auto_home map file, and add it to the LDAP server:
nistoldif -d dc=suffix -sa -f /etc/auto_home > /tmp/auto_home.ldif
ldapadd -D cn=admin -w passwd -h ldapserver -f /tmp/auto_home.ldif
In order to edit or remove existing automount entries from an LDAP server, the LDIF files must be created manually. For example, if the home directory of user2 is now on server2, the following LDIF should be created:
# cat /tmp/ch_user2.ldif
dn: automountKey=user2,automountMapName=auto_home,dc=suffix
changetype: modify
replace: automountInformation
automountInformation: server2:/home/user2
After creating the above LDIF, run the following command:
ldapmodify -D cn=admin -w passwd -h ldapserver -f /tmp/ch_user2.ldif
You must also create an LDIF file to remove a user. For example, to remove user3, create the following LDIF:
# cat /tmp/rm_user3.ldif
dn: automountKey=user3,automountMapName=auto_home,dc=suffix
changetype: delete
After creating the above LDIF, run the following command:
ldapmodify -D cn=admin -w passwd -h ldapserver -f /tmp/rm_user3.ldif
WebNFS
운영 체제는 WebNFS용 NFS 서버 기능을 제공합니다.
Oracle이 정의한 WebNFS는 인터넷 방화벽을 거쳐 서버와 클라이언트에 더 쉽게 접근하게 하는 NFS 프로토콜의 간단한 확장입니다.
WebNFS를 지원하는 웹 브라우저는 NFS URL(universal resource locator)로 서버에서 데이터에 직접 접근할 수 있습니다. NFS URL의 예는 다음과 같습니다.
nfs://www. YourCompany .com/
WebNFS는 기존 웹 기반 프로토콜과 함께 동작해 클라이언트에 데이터를 제공합니다.
WebNFS는 NFS 서버의 확장성도 활용합니다.
영어 원문
WebNFS
The operating system provides NFS server capability for WebNFS.
Defined by Oracle, WebNFS is a simple extension of the NFS protocol that allows easier access to servers and clients through Internet firewalls.
A WebNFS-enhanced web browser can use an NFS universal resource locator (URL) to access data directly from the server. An example NFS URL is:
nfs://www. YourCompany .com/
WebNFS works in tandem with existing web-based protocols to provide data to clients.
WebNFS also takes advantage of the scalability of NFS servers.