Questo contenuto non è disponibile nella lingua selezionata.
12.10. Actions
12.10.1. Importing an Existing Storage Domain Copia collegamentoCollegamento copiato negli appunti!
name
is not specified.
Example 12.16. Importing an existing export storage domain
12.10.2. Deleting a Storage Domain Copia collegamentoCollegamento copiato negli appunti!
storage_domain
reference is passed in the body of a DELETE
request for a storage domain. The storage_domain
reference is in the following form:
<storage_domain> <host id="..."/> </storage_domain>
<storage_domain>
<host id="..."/>
</storage_domain>
An API user provides a optional format
element to specify whether or not to format the storage domain after deletion.
Example 12.17. Formatting a storage domain after deletion
<storage_domain> <host id="..."/> <format>true</format> </storage_domain>
<storage_domain>
<host id="..."/>
<format>true</format>
</storage_domain>
format
element is passed, the storage domain remains unformatted.
The API also provides a function for the logical removal of the storage domain. This retains the storage domain's data for import. Use the destroy
element to logically remove the storage domain and retain the data.
Example 12.18. Logical removal of a storage domain
<storage_domain> <host id="..."/> <destroy>true</destroy> </storage_domain>
<storage_domain>
<host id="..."/>
<destroy>true</destroy>
</storage_domain>
12.10.3. Refreshing the LUN Size Copia collegamentoCollegamento copiato negli appunti!
refreshluns
action forces a rescan of the provided LUNs and updates the database with the new size if required.
Example 12.19. Refreshing the LUN Size