vol-delete

Remove a volume from a storage pool.

Syntax


1  vol-delete
2.1 <vol-key
2.1 <vol-path>
2.1   --pool
2.2.1 <pool-name>
2.2.1 <pool-UUID>
2.1 <vol-name>
Where:
<pool-name>
Is the name of the storage pool.
<pool-UUID>
Is the UUID of the storage pool.
<vol-key>
Is the key of the volume.
<vol-name>
Is the name of the volume.
<vol-path>
Is the path of the volume.

Selected options

--pool
Specifies the storage pool.

Usage

Volume management commands

Example

# virsh vol-delete --pool pool1 vol1