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
- <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 commandsExample
# virsh vol-pool /var/lib/libvirt/images/federico.img pool1