Virsh vol-delete

From NovaOrdis Knowledge Base
Revision as of 00:14, 7 December 2020 by Ovidiu (talk | contribs) (→‎Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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