volume mount

Mounts one or more specified volumes. Permissions required: fc or m on the volume.


maprcli volume mount
    [ -cluster <cluster> ]
    -name <volume list>
    -path <path list>
    [ -createparent 0|1 ]
Request Type POST
Request URL


Parameter Description
cluster The cluster on which to run the command.
name The name of the volume to mount.
path The path at which to mount the volume. The path must be relative to / and cannot be in the form of a global namespace path (for example, /mapr/<cluster-name>/).
createparent Specifies whether or not to create a parent volume:
  • 0 = Do not create a parent volume.
  • 1 = Create a parent volume.


Mount the volume "test-volume" at the path "/test":

maprcli volume mount -name test-volume -path /test
	"timeofday":"2018-09-24 09:02:51.391 GMT-0700 AM",
curl -k -X POST 'https://abc.sj.us:8443/rest/volume/mount?name=test-volume&path=/test' --user mapr:mapr
{"timestamp":1537804971391,"timeofday":"2018-09-24 09:02:51.391 GMT-0700 AM","status":"OK","total":0,"data":[]}