Unmounts one or more mounted volumes. Permissions required:
fc or m on the volume.
maprcli volume unmount
[ -cluster <cluster> ]
[ -force 0|1 ]
-name <volume name>
| Request Type | POST |
| Request URL |
|
| Parameter | Description |
|---|---|
cluster |
The cluster on which to run the command. |
force |
Specifies whether (1) or not (0) to force the volume to unmount. |
name
|
The name of the volume to unmount. |
Unmount the volume "test-volume":
maprcli volume unmount -name test-volume
{
"timestamp":1537804903335,
"timeofday":"2018-09-24 09:01:43.335 GMT-0700 AM",
"status":"OK",
"total":0,
"data":[
]
}
curl -k -X POST 'https://abc.sj.us:8443/rest/volume/unmount?name=test-volume' --user mapr:mapr
{"timestamp":1537805053854,"timeofday":"2018-09-24 09:01:43.335 GMT-0700 AM","status":"OK","total":0,"data":[]}