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


Spectra BlackPearl Converged Storage System : Advanced Bucket Management Operations : Storage Domain Operations : Get Storage Domains

Get Storage Domains
Description
Get information about all storage domains. Use parameters as selection criteria to return a subset of the list.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/storage_domain[?auto_eject_upon_cron={string}][&auto_eject_upon_job_cancellation=TRUE|FALSE][&auto_eject_upon_job_completion=TRUE|FALSE][&auto_eject_upon_media_full=TRUE|FALSE]​[&last_page][&media_ejection_allowed=TRUE|FALSE]​[&name={string}][&page_length={32‑bit integer}]​[&page_offset={32‑bit integer}][&page_start_marker={string}]​[&secure_media_allocation=TRUE|FALSE][&write_optimization=CAPACITY|PERFOMRANCE]
Request Parameters 
Values: TRUE, FALSE (default)
Values: TRUE, FALSE (default)
Values: TRUE (default), FALSE
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.
§
TRUE — Media assigned to the storage domain can only be reclaimed for use within the same storage domain.
§
FALSE (default) Media assigned to a storage domain can be reclaimed into the general pool if all data on the media is deleted.
Whether job chunks are written as quickly as possible or across as few pieces of media as possible. For example, when PERFORMANCE mode is set for a tape partition, job chunks are written as quickly as possible, using all tape drive resources, even if that means that more tapes are allocated to the storage domain than are necessary to write the data.
Values: CAPACITY (default), PERFORMANCE
Responses
Response Elements
<Data>
   <StorageDomain>
      <AutoEjectMediaFullThreshold>
         {
64‑bit integer}
      </AutoEjectMediaFullThreshold>
      <AutoEjectUponCron>{string}</AutoEjectUponCron>
      <AutoEjectUponJobCancellation>
         TRUE|FALSE
      </AutoEjectUponJobCancellation>
      <AutoEjectUponJobCompletion>
         TRUE|FALSE
      </AutoEjectUponJobCompletion>
      <AutoEjectUponMediaFull>
         TRUE|FALSE
      </AutoEjectUponMediaFull>
      <Id>{string}</Id>
      <LtfsFileNaming>OBJECT_ID|OBJECT_NAME</LtfsFileNaming>
      <MaxTapeFragmentationPercent>
         {
32‑bit integer}
      </MaxTapeFragmentationPercent>
      <MaximumAutoVerificationFrequencyInDays>
         {
32‑bit integer}
      </MaximumAutoVerificationFrequencyInDays>
      <MediaEjectionAllowed>
         TRUE|FALSE
      </MediaEjectionAllowed>
      <Name>{string}</Name>
      <SecureMediaAllocation>TRUE|FALSE</SecureMediaAllocation>
      <VerifyPriorToAutoEject>
         CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND
      </VerifyPriorToAutoEject>
      <WriteOptimization>CAPACITY|PERFORMANCE</WriteOptimization>
   </StorageDomain>
   ...
</Data>
where the response elements are defined as follows:
§
TRUE — Media assigned to the storage domain can only be reclaimed for use within the same storage domain.
§
FALSE — Media assigned to a storage domain can be reclaimed into the general pool if all data on the media is deleted.
Whether job chunks are written as quickly as possible (PERFORMANCE) or across as few pieces of media as possible (CAPACITY).
Values: CAPACITY, PERFORMANCE
Example
Sample Request
This request gets information about all storage domains on the BlackPearl system.
GET http://blackpearl-hostname/_rest_/storage_domain/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <StorageDomain>
      <AutoEjectMediaFullThreshold/>
      <AutoEjectUponCron/>
      <AutoEjectUponJobCancellation>
         FALSE
      </AutoEjectUponJobCancellation>
      <AutoEjectUponJobCompletion>
         FALSE
      </AutoEjectUponJobCompletion>
      <AutoEjectUponMediaFull>FALSE</AutoEjectUponMediaFull>
      <Id>b5ef719c-a455-4527-a7b6-6a4780c3f67f</Id>
      <LtfsFileNaming>OBJECT_ID</LtfsFileNaming>
      <MaxTapeFragmentationPercent/>
      <MaximumAutoVerificationFrequencyInDays/>
      <MediaEjectionAllowed>TRUE</MediaEjectionAllowed>
      <Name>sd1</Name>
      <SecureMediaAllocation>FALSE</SecureMediaAllocation>
      </VerifyPriorToAutoEject>
      <WriteOptimization>CAPACITY</WriteOptimization>
   </StorageDomain>
   ...
</Data>