This function adds an NFS mount to the system’s remote storage.
Important:
This function requires a high-availability license.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ PRIVATE_add_nfs_storage \ host='nfs.example.com' \ remote_path='/the/remote/path'
{- "data": {
- "local_path": "/opt/cpanel/remote-storage-1234"
}, - "metadata": {
- "command": "PRIVATE_add_nfs_storage",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}