Technical data
NFS Server
20.9 Setting Up and Exporting a Container File System
3. Map the OpenVMS volume on which the container file has been created.
TCPIP> MAP "/test_dsk" DSA101:
Note that it is important to map the underlying volume before mapping
the container file system to make it available to the NFS server and the
management control program. It is possible to use a volume both as an
OpenVMS style file system and a container file system. If the disk was
already in use as a OpenVMS style file system, it may already be mapped. In
that case, you can skip this step.
4. Map the container file system to make it available to NFS client hosts. This
mapping gives the file system its UNIX style name and UNIX style attributes.
For example:
TCPIP> MAP "/test" DSA101:[TEST]
To make the mappings permanent, also use the SET CONFIGURATION MAP
command.
5. If you do not already have proxies for the users, create them now. For
example:
TCPIP> ADD PROXY USER1 /UID=234 /GID=14 /HOST=*
6. In the root directory, create a top-level directory for each remote user. Be
sure to specify directory ownership and set file permissions as needed for your
environment. For example,
TCPIP> CREATE DIRECTORY "/test/user1" /USER_NAME=USER1 /MODE=751 /HOST="june"
7. Export the root directory or the user top-level directories in the container file
system. To export the root directory, enter:
TCPIP> ADD EXPORT "/test" /HOST=*
To export the user top-level directory, enter:
TCPIP> ADD EXPORT "/test/user1" /HOST="june"
20.10 Maintaining a Container File System
This section reviews the commands you use to maintain and examine a container
file system. Topics include:
• Displaying directory listings
• Copying files
• Removing links to a file or directory
• Deleting files
• Verifying the integrity of the file system
• Rebuilding the container file system
For complete command descriptions, see the Compaq TCP/IP Services for
OpenVMS Management Command Reference manual.
NFS Server 20–13