nfs4mgmt list-exports
Returns the list of exports.
Syntax
- CLI
/opt/mapr/bin/maprcli nfs4mgmt list-exports [ -nfshost ip/hostname. default: 127.0.0.1 ] [ -nfsport port. default: 9995 ]
- REST
- N/A
Parameters
Parameter | Description |
---|---|
nfshost |
The NFS server host. Value can be the IP address or the hostname of the NFS server host. The default value is 127.0.0.1. |
nfsport |
The NFS server port. The default value is 9995. |
Output
Example
Troubleshooting
- Issue
- Sometimes, you might see the following error when you run the
list-exports
command:Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.ganesha.nfsd was not provided by any .service files
- Resolution
- Modify the
/etc/dbus-1/system.conf file
as follows:- Remove the following:
<deny send_destination="org.freedesktop.DBus" send_interface="org.freedesktop.DBus" send_member="UpdateActivationEnvironment"/>
- Add the following:
<allow send_interface="*"/> <allow receive_interface="*"/> <allow own="*"/>
- Remove the following: