volume recall
Recalls the offloaded data for the specified volume.
Permissions Required
The user running the command must have one of the following:
- Full control (fc) on the cluster or volume
- Volume edit permissions
Syntax
- CLI
maprcli volume recall [ -cluster cluster_name ] -name <volume_name>
- REST
Request Type POST Request URL http[s]://<host>:<port>/rest/volume/recall?<parameters>
Parameters
Parameter |
Description |
---|---|
cluster |
The name of the cluster on which to run the command. |
name |
The name of the volume. |
Example
Recall a volume:
# /opt/mapr/bin/maprcli volume recall -name sampleVol -json
{
"timestamp":1520007453541,
"timeofday":"2018-03-02 08:17:33.541 GMT-0800 AM",
"status":"OK",
"total":0,
"data":[
],
"messages":[
"Successfully started recall."
]
}
# curl -X POST 'https://abc.sj.us:8443/rest/volume/recall?name=sampleVol' --user <username>:<password>
{"timestamp":1520007538784,"timeofday":"2018-03-02 08:18:58.784 GMT-0800 AM","status":"OK","total":0,"data":[],"messages":["Successfully started recall."]}