The following directions show how to set
up the server to share virtual optical image files with the client
system. These steps are only for IBM® i.
- You must have previously creating an image catalog containing
the images that you want to share. The image catalog used must have
an image catalog path name of 127 characters or less. Path name characters
are limited to A-Z, a-z, 0-9, and / (slash). Each image file name
is limited to 127 characters.
- After the image catalog has been created and loaded, you'll
need to verify the image catalog to create a volume list file (VOLUME_LIST)
that will be used by the virtual optical device on the client system.
The following command is an example of how to create the volume list
file:
- VFYIMGCLG IMGCLG(PUBS) TYPE(*OTHER) NFSSHR(*YES)
The volume list file can also be created by using an ASCII
editor. There are specific guidelines that must be met when creating
a volume. Refer to Requirements for virtual optical storage within
a Network File System network for more information.
- Ensure that the NFS file servers are running.
Enter
either one of the following Start Network File System Server (STRNFSSVR)
commands:
- Run all of these commands on your servers:
- STRNFSSVR *RPC
- STRNFSSVR *SVR
- STRNFSSVR *MNT
- Or start all of the servers with this command:
- Export the image catalog directory.
This example
restricts access by all NFS clients because it is read-only. Ensure
that the exported directory is in the public directory and that it
is a subdirectory of the NFSROOT path.
- CHGNFSEXP OPTIONS('-i -o ro') DIR('directory-name')
- Specify the level of authority for the user id (UID), group
id (GID), or *PUBLIC that owns or manages the image catalog directory
and the image files. The minimum authority that is required is the
following:
Note: The fully exported image catalog directory name is limited
to 127 characters. The directory path name may only contain characters
A-Z, a-z, 0-9, and / (slash).
Refer to the IBM i Network
File System Support PDF for additional details.