Technical data

NFS Server
20.7 Backing Up a File System
20.7 Backing Up a File System
You can back up NFS-mounted files using standard OpenVMS backup procedures.
For more information, see the OpenVMS documentation.
If you back up an OpenVMS file system or a container file system while remote
users are accessing the files, the resulting save set may contain files that are in
an inconsistent state. For a container file system, there is the additional danger
that the container file itself may be in an inconsistent state.
Furthermore, the OpenVMS Backup utility does not issue warning messages
when backing up files that are opened by the NFS server, even when the
/IGNORE=INTERLOCK qualifier to the BACKUP command was not used.
The approach to backing up is to schedule the backup for a time when users will
not be accessing the files. Then either unmap the file systems to be backed up or
shut down the NFS server.
If you perform an incremental backup (using the /SINCE=MODIFIED qualifier
to the BACKUP command) on container file systems, a separate copy of the
container must also be backed up because the container file’s modification date
never changes. See Section 20.9 for information about setting up container
file systems; see Section 20.10 for information about managing container file
systems.
20.8 Setting Up and Exporting an OpenVMS File System
The following example describes how to set up an OpenVMS file system on the
OpenVMS server and how to make the file system available to Joe Brown, a user
on UNIX client
ultra
.
Joe Brown has an OpenVMS user name of BROWN and a UNIX user name of
joe
.
1. Log in to a UNIX node to find the UID/GID for the UNIX user
joe
by entering
the following command:
% grep joe /etc/passwd
joe: (encrypted password) :27:58: ...
The fields
:27:58
of the password entry for
joe
are the UID and GID. In this
example,
joe
has UID=27 and GID=58.
2. Log in to the OpenVMS server.
The OpenVMS files exist on DSA301:[BROWN.TEST]. Joe wants to export
the files in the subdirectory TEST to his UNIX machine,
ultra
.
3. Enter the following commands:
$ TCPIP
TCPIP> ADD PROXY BROWN /UID=27 /GID=58 /HOST=ultra
TCPIP> MAP "/vmsdisk" DSA301:
TCPIP> ADD EXPORT "/vmsdisk/brown/test" /HOST=ultra
If you want to make the mapping permanent, enter a SET CONFIGURATION
MAP command.
If users need to create files with case-sensitive names or names containing
characters that do not conform to the OpenVMS syntax, you can enable name
conversion, which gives users more file-naming flexibility without creating a
container file system. Use the /OPTIONS=NAME_CONVERSION qualifier to the
command ADD EXPORT to enable this option.
NFS Server 20–11