A storage pool that does not contain file systems can be deleted at any time. If the storage pool contains file systems, you must unmount and then delete the file systems before you can delete the storage pool. After the pool has been deleted, its SDs become free and available for use by other storage pools.
Note: For detailed information about specific commands, see the CLI man pages or the
Command Line Reference.
If you are using HDP:
- Unmount the file systems in the storage pool using the
unmount command.
- Delete the file systems in the storage pool by issuing the filesystem-delete command or by using the NAS Manager.
If you delete an HDP-resident span and then reuse its DP-vols in a new span, the NAS server automatically launches an unmapper (as if you had run span-unmap-vacated-chunks). This unmapper recovers the leaked space that used to be occupied by the filesystem on the old span, so that no space is wasted if the new span's filesystems initially occupy less space that the old span's filesystems. However, the performance of the affected storage systems is lower than usual until they have reinitialized the space freed up by the unmapper.
To minimize the duration of this slowdown, do not delete and recreate HDP-resident spans unless you really need to, and as soon as you can, create and pre-expand file systems on the new span, reducing the amount of space that needs to be unmapped and reinitialized.
- Delete the storage pool using the
span-delete command.
You can use
NAS Manager to delete a storage pool.