vol-pool

Displays the name or the UUID of the storage pool containing a given volume.

By default, the strorage pool name is displayed.

Syntax


1  vol-pool?  --uuid
2.1 <vol-key>
2.1 <vol-path>
Where:
<vol-key>
Is the key of the volume.
<vol-path>
Is the path of the volume.

Selected options

--uuid
Returns the storage pool UUID.

Usage

Volume management commands

Example

# virsh vol-pool /var/lib/libvirt/images/federico.img
pool1