vol-path
Displays the path of a volume from its name or key.
Syntax
- <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.
Selected options
None.Usage
Volume management commandsExample
This example displays the path of vol1 as a volume of storage pool
pool1.
# virsh vol-path --pool pool1 vol1 /var/lib/libvirt/images/federico.img