Skip to main content

storage pool delete

Contributors
Suggest changes

Delete an existing storage pool

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The storage pool delete command deletes an existing SSD storage pool. At the end of the operation, the SSDs are converted back to spare disks.

Parameters

-storage-pool <storage pool name> - Storage Pool Name

This parameter specifies the storage pool that you want to delete. You can delete the storage pool only if all of the allocation units in the storage pool are available.

Examples

Verify that storage pool SP3 is ready for deletion by confirming it has four available allocation units and then delete it.

cluster1::> storage pool show-available-capacity -storage-pool SP3
                           Storage SyncMirror Allocation Unit  Total
Node       Storage Pool    Type    Pool       Unit size  Count Usable Size
---------- --------------- ------- ---------- ---------- ----- -----------
node-a     SP3             SSD     Pool0         372.5GB     2     744.9GB
node-b     SP3             SSD     Pool0         372.5GB     2     744.9GB
2 entries were displayed.

cluster1::> storage pool delete -storage-pool SP3

Warning: Are you sure you want to delete storage pool "SP3"? {y|n}: y
[Job 313] Job succeeded: storage pool delete job for "SP3" completed successfully