Spectra Logic
1-800-833-1132 : 1-303-449-6400


Miscellaneous Operations : Cache Operations : Get Cache Filesystems

Get Cache Filesystems
Description
Gets information about all cache filesystems.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/cache_filesystem[?last_page][&node_id={string}][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}]
Request Parameters
Notes:  
§
Specifying both page_offset and page_start_marker causes an error.
§
If neither page_offset, nor page_start_marker are specified, the page_offset default is used.
a.
Responses
Response Elements
<Data>
   <CacheFilesystem>
      <AutoReclaimInitiateThreshold>
         {
double}
      </AutoReclaimInitiateThreshold>
      <AutoReclaimTerminateThreshold>
         {double}
      </AutoReclaimTerminateThreshold>
      <BurstThreshold>{double}</BurstThreshold>
      <Id>{string}</Id>
      <MaxCapacityInBytes>{64‑bit integer}</MaxCapacityInBytes>
      <MaxPercentUtilizationOfFilesystem>
         {double}
      </MaxPercentUtilizationOfFilesystem>
      <NodeId>{string}</NodeId>
      <Path>{string}</Path>
   </CacheFilesystem>
   ...
</Data>
where the response elements are defined as follows:
Note: If both MaxCapacityInBytes and MaxPercentUtilizationOfFilesystem are specified, the lesser of the two is used for the maximum cache capacity.
Note: If both MaxCapacityInBytes and MaxPercentUtilizationOfFilesystem are specified, the lesser of the two is used for the maximum cache capacity.
Example
Sample Request
This request lists all cache filesystems.
GET http://blackpearl-hostname/_rest_/cache_filesystem/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <CacheFilesystem>
      <AutoReclaimInitiateThreshold>
         0.82
      </AutoReclaimInitiateThreshold>
      <AutoReclaimTerminateThreshold>
         0.72
      </AutoReclaimTerminateThreshold>
      <BurstThreshold>0.85</BurstThreshold>
      <Id>93c28334-e6b5-450e-ad7d-0380b706c5f4</Id>
      <MaxCapacityInBytes>524288000</MaxCapacityInBytes>
      <MaxPercentUtilizationOfFilesystem/>
      <NodeId>d1c919d5-70b5-4062-96b6-1000b2b56ee2</NodeId>
      <Path>
         /usr/local/BlackPearl/frontend/cachedir/
      </Path>
   </CacheFilesystem>
   ...
</Data>