Creating NFS dynamic mounts
How to create NFS dynamic mounts.
About this task
NFS dynamic mounts are mounted automatically when accessed and remain active until the expiration of the inactivity timer. Define NFS client settings before you configure and enable NFS static mounts.
Procedure
- In the search field, enter nfs.
- From the search results, click NFS dynamic mounts.
- Click Add.
- Define the basic properties - Name, administrative state, and comments.
- Define the version-specific protocol behavior.
- In the NFS version field, enter the preferred NFS protocol
version for mount. If the preferred version is 3 but the server implements only version 2, the client falls back to version 2. If the preferred version is 4, no fallback exists. For version 4, remote export paths are not the same.
- From the Transport protocol list, select the transport protocol
to initiate the mount. This property is for NFS version 2 or 3. If you select TCP and it is not available on the NFS server, UDP is used. For NFS version 4, this property is ignored. Version 4 supports only TCP.
- In the NFS version field, enter the preferred NFS protocol
version for mount.
- From the Mount type list, select the type of
mount. Generally, the default behavior is the appropriate behavior.
- Define permissions for file access and maximum size.
- Set Read-only to indicate read-only file access. If not enabled, the file access privilege is read/write. When the DataPower® Gateway mounts the same NFS v4 mount point in different domains, the first mount sets file access permissions.If
domain-A
mountshost:/foo
as read-only access and thendomain-B
mountshost:/foo
as read/write access, both mounts are read only. - In the Read size field, enter the size of read
operations on files. Use a smaller value when this size proves difficult for the server to maintain.
- In the Write size field, enter the size of write
operations on files. Use a smaller value when this size proves difficult for the server to maintain.
- Set Read-only to indicate read-only file access.
- Define retransmission behavior.
- In the Retransmission timeout field, enter the retransmission
timeout. If the DataPower Gateway cannot successfully complete the operation during this interval, the retransmission fails.
- In the Max retransmissions field, enter the number of times to attempt a retransmission before the operation fails completely.
- In the Retransmission timeout field, enter the retransmission
timeout.
- Define timers.
- In the Inactivity timeout field, enter the idle time that triggers the tear down of the dynamic mount.
- In the Mount timeout field, enter the duration that the DataPower Gateway attempts to try a dynamic NFS mount until it gives up and causes the related file open operation to fail.
- Click Apply to save changes to the running configuration.
- Click Save to save changes to the persisted configuration.