Recalling a File to file system Using the CLI and REST API

About this task

You can recall individual files from a storage tier. When you recall a file, the MAST Gateway fetches a copy of the data to the cluster. Based on the expiration time setting on the volume, recalled data is automatically:

  • Offloaded again based on the storage policy (rules) if there are changes to the recalled data.
  • Purged when the compactor runs if there are no changes to the recalled data.

See Data Reads, Writes, and Recalls for more information.

NOTE You can recall all data from the tier to the volume. See Recalling a Volume to file system for more information.

Recalling a File Using the REST API

Procedure

Send a request of type POST to the URL. For example, send a request similar to the following:
curl -k -X POST 'https://abc.sj.us/rest/file/recall?name=fileName' --user mapr:mapr