Virsh vol-delete: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 13: Line 13:
</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.}}
{{Warn|WARNING! 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:27, 30 June 2017

External

Internal

Overview

virsh vol-delete <volume-name> <storage-pool-name>

WARNING! 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