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


Hardware Operations : Pool Operations : Cancel Import of Pool

Cancel Import of Pool
Description
Cancels a pending pool import for the specified pool. If the import is in process, it cannot be canceled.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/pool/{pool UUID or other unique attribute}?operation=CANCEL_IMPORT
To determine the UUID for a pool, see Get Pools.
Request Parameters
Responses
Response Elements
<Data>
   <AssignedToStorageDomain>TRUE|FALSE</AssignedToStorageDomain>
   <AvailableCapacity>{
64‑bit integer}</AvailableCapacity>
   <BucketId>{string}</BucketId>
   <Guid>{string}</Guid>
   <Health>OK|DEGRADED</Health>
   <Id>{string}</Id>
   <LastAccessed>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastAccessed>
   <LastModified>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastModified>
   <LastVerified>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastVerified>
   <Mountpoint>/{string}</Mountpoint>
   <Name>{string}</Name>
   <PartitionId>{string}</PartitionId>
   <PoweredOn>TRUE|FALSE</PoweredOn>
   <Quiesced>NO|PENDING|YES</Quiesced>
   <ReservedCapacity>{
64‑bit integer}</ReservedCapacity>
   <State>
      NORMAL|FOREIGN|IMPORT_IN_PROGRESS|IMPORT_PENDING|LOST
   </State>
   <StorageDomainId>{string}</StorageDomainId>
   <TotalCapacity>{64‑bit integer}</TotalCapacity>
   <Type>NEARLINE|ONLINE</Type>
   <UsedCapacity>{64‑bit integer}</UsedCapacity>
</Data>
where the response elements are defined as follows:
§
NORMAL — The pool is ready for use.
§
FOREIGN — A pool from another BlackPearl system. This data must be copied into a bucket on this BlackPearl system before it is accessible.
§
IMPORT_IN_PROGRESS — A FOREIGN pool is in the process of being imported into a bucket on this BlackPearl system.
§
IMPORT_PENDING— A FOREIGN pool is waiting to be imported into a bucket on this BlackPearl system.
§
LOST — The pool was removed without first exporting it from a bucket.
The type of pool.
Values:
NEARLINE (ArcticBlue), ONLINE (SAS)
Example
Sample Request
This request cancels the pending pool import of the pool with the UUID 4a79a678-e187-44b3-b137-aaa86683f228.
PUT http://blackpearl-hostname/_rest_/pool/4a79a678-e187-44b3-b137-aaa86683f228?operation=CANCEL_IMPORT HTTP/1.1
Sample Response
<Data>
   <AssignedToStorageDomain>FALSE</AssignedToStorageDomain>
   <AvailableCapacity>10000</AvailableCapacity>
   <BucketId/>
   <Guid>b9f05ae1-94f1-4d4d-ad4a-a89da2c41332</Guid>
   <Health>OK</Health>
   <Id>4a79a678-e187-44b3-b137-aaa86683f228</Id>
   <LastAccessed/>
   <LastModified/>
   <LastVerified/>
   <Mountpoint>/mountpoint-0</Mountpoint>
   <Name>pool0</Name>
   <PartitionId/>
   <PoweredOn>TRUE</PoweredOn>
   <Quiesced>NO</Quiesced>
   <ReservedCapacity>0</ReservedCapacity>
   <State>NORMAL</State>
   <StorageDomainId/>
   <TotalCapacity>30000</TotalCapacity>
   <Type>NEARLINE</Type>
   <UsedCapacity>20000</UsedCapacity>
</Data>