volume showmounts

Returns a list of mount points for the specified volume.

NOTE
The three dots in the output indicate hierarchical mounts within a volume. Use -json to format the output.

Syntax

CLI
maprcli volume showmounts
    [ -cluster <cluster name> ]
    -name <volume name>
    -json
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/volume/showmounts?<parameters> 

Parameters

Parameter

Description

cluster

The name of the cluster hosting the volume.

json (Required) Returns the output in JSON format.

name

The name of the volume to return a list of mount points for.

Examples

Return the mount points for volume mapr.user.volume for the cluster my.cluster.com:

maprcli volume showmounts -cluster my.cluster.com -name mapr.user.volume -json
curl -X GET 'https://abc.sj.us:8443/rest/volume/showmounts?cluster=my.cluster.com&name=mapr.user.volume' --user <username>:<password>