Virsh vol-delete: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=External= * [https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-Storage_Volume_Commands-De...") |
|||
Line 12: | Line 12: | ||
virsh vol-delete <volume-name> <storage-pool-name> | virsh vol-delete <volume-name> <storage-pool-name> | ||
</pre> | </pre> | ||
{{Warn|vol-delete will '''delete the content of the underlying storage''', not just removes the storage volume definition from the pool, so you risk losing state if the underlying storage was not backed up previously.}} | |||
=Example= | =Example= |
Revision as of 15:26, 30 June 2017
External
Internal
Overview
virsh vol-delete <volume-name> <storage-pool-name>
vol-delete will delete the content of the underlying storage, not just removes the storage volume definition from the pool, so you risk losing state if the underlying storage was not backed up previously.
Example
virsh vol-delete test-volume main-storage-pool