2. Export the path to the UDFS mount point (the directory you mounted over in
Step 1)
The previous steps will ensure that the remote view of the namespace is the same
as the local view.Afterwards, the exported UDFS file system can be mounted (Type
*NFS) by remote NFS clients. However, you must have previously mounted it on
the local namespace.

ADDMFS/MOUNT Display

For a display of the ADDMFS (Add Mounted File System) and MOUNT commands,
please see “RMVMFS/UNMOUNT Display” on page49.
Example
Mount and Export a UDFS on TULAB2
MOUNT TYPE(*UDFS) MFS('/DEV/QASP02/kate.udfs') MNTOVRDIR('/usr')
This command mounts the user-defined file system (UDFS) that is named
kate.udfs on the integrated file system namespace of TULAB2 over directory /usr.
CHGNFSEXP OPTIONS('-I -O ACCESS=Prof:1.234.5.6')
DIR('/usr')
This command exports the user-defined file system (UDFS) that is named
kate.udfs and makes it available to appropriate clients Prof and 1.234.5.6.
For more information about the MOUNT and ADDMFS commands, see “Chapter5.
Client Mounting of File Systems” on page39. For more information about the
EXPORTFS and CHGNFSEXP commands, see “Chapter4. Server Exporting of File
Systems” on page 25.
Unmount a User-Defined File System
The Remove Mounted File System (RMVMFS) or UNMOUNT commands will make
a mounted file system inaccessible to the integrated file system namespace. If any
of the objects in the file system are in use (for example, a file is opened) at the time
of using the unmount command, an error message will be returned to the user. If
the user has mounted over the file system itself, then this file system cannot be
unmounted until it is uncovered.
Note: Unmounting an exported UDFS which has been mounted by a client will
cause the remote client to receive the ESTALE return code for a failed
operation upon the next client attempt at an operation that reaches the
server.

RMVMFS/UNMOUNT Display

For a display of the RMVMFS (Remove Mounted File System) and UNMOUNT
commands, please see “RMVMFS (Remove Mounted File System) Command” on
page 48.
For more information about the UNMOUNT and RMVMFS commands, see
“Chapter 5. Client Mounting of File Systems”on page 39.
20 OS/400 Network File System Support V4R4
|
|
|
|
|
|
|
|
|
|
|
|
|
|