Deleting a storage pool
Use the pool_delete command to delete a storage pool.
pool_delete pool=PoolName
Parameters
| Name | Type | Description | Mandatory |
|---|---|---|---|
| pool | Object name | The name of the storage pool to delete. | Y |
This command fails if the storage pool is not empty, meaning that it still contains volumes.
The capacity of the deleted storage pool is added to the free space.
Example:
pool_delete pool=ERPPool
Output:
Command completed successfully
Access control
| User Category | Permission |
|---|---|
| Storage administrator | Allowed |
| Application administrator | Disallowed |
| Security administrator | Disallowed |
| Read-only users | Disallowed |
| Operations administrator | Disallowed |
| Host side accelerator client | Disallowed |
Warnings
- ARE_YOU_SURE_YOU_WANT_TO_DELETE_POOL
Are you sure you want to delete storage pool Pool?
Return codes
- POOL_DOES_NOT_EXIST
Storage pool does not exist.
- POOL_HAS_CG
Storage pool has consistency groups defined.
- POOL_IN_USE
Storage pool has volumes allocated in it.
- OPERATION_DENIED_OBJECT_MANAGED
This is a managed object. Only the managing software and xiv_maintenance / xiv_development may complete this operation on this object.
- POOL_BELONGS_TO_A_GROUPED_POOL
Pool belongs to a grouped pool.