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

Syntax

CLI

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

REST

http[s]://<host>:<port>/rest/volume/mount?<parameters>

Parameters



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.

createparent

Specifies whether or not to create a parent volume:

  • 0 = Do not create a parent volume.
  • 1 = Create a parent volume.

Examples

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

CLI

maprcli volume mount -name test-volume -path /test

REST

https://r1n1.sj.us:8443/rest/volume/mount?name=test-volume&path=/test