vol-path

Displays the path of a volume from its name or key.

Syntax


1  vol-path
2.1 <vol-key>
2.1    --pool
2.2.1 <pool-name>
2.2.1 <pool-UUID> <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.

Selected options

None.

Usage

Volume management commands

Example

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