Virsh vol-info: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[virsh#Commands|virsh]]
* [[virsh#Commands|virsh]]
* [[Linux Virtualization Info]]
* [[KVM Virtualization Storage Pool Info|KVM Virtualization Storage Pool Info Operations]]


=Overview=
=Overview=
Returns basic information about the storage volume.
=Using Volume Name=


<pre>
<pre>
virsh vol-info --pool <storage-pool-name> <volume-name>
virsh vol-info --pool <storage-pool-name> <volume-name>
</pre>
</pre>
=Using Full Path=


<pre>
<pre>
virsh vol-info /<storage-pool-path>/<volume-file-name>
virsh vol-info /<storage-pool-path>/<volume-file-name>
</pre>
</pre>
=Using Volume Key=


<pre>
<pre>
virsh vol-info <unique-volume-key>
virsh vol-info <unique-volume-key>
</pre>
</pre>

Latest revision as of 00:28, 18 October 2017

Internal

Overview

Returns basic information about the storage volume.

Using Volume Name

virsh vol-info --pool <storage-pool-name> <volume-name>

Using Full Path

virsh vol-info /<storage-pool-path>/<volume-file-name>

Using Volume Key

virsh vol-info <unique-volume-key>