Controller: NfsMount

API Controller /nodeworx/nfs/mount
Required Permissions ["NFS"]
Action Description
add Add a NFS mount.
listNfsMounts List Nfs mounts.

Action: add

Add a NFS mount.

Input Parameters

Name Type Notes Required?
host string
Help Entry
The host (hostname or IP address) you are mounting.
Yes
remote_directory string
Help Entry
The full path of the remote directory you are mounting.
Yes
mount_point string
Help Entry
The local mount point you would like the remote directory to be available on. This must be an existing directory.
Yes
protocol string
Example Values
tcp, udp
No
mount_type string
Example Values
hard, soft
No
remount_options string
Description
(On Error)
Example Values
fg, bg
No
interrupt_handling string
Description
(For File Operations)
Example Values
intr, nointr
No

Action: listNfsMounts (Added in version 4.8.0-393)

List Nfs mounts.

Example Output

array (
  'status' => 0,
  'payload' => 
  array (
  ),
)