KVM Virtualization Storage Volume Info: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
The list of storage volumes, and additional details, can be obtained with:
The list of storage volumes, and additional details, can be obtained with:


  virsh vol-list <''storage-pool-name''> --details
  [[Virsh vol-list|virsh vol-list]] <''storage-pool-name''> --details


  Name                    Path                                        Type    Capacity  Allocation
Example:
---------------------------------------------------------------------------------------------------
<syntaxhighlight lang='bash'>
appproxy.qcow2          /main-storage-pool/appproxy.qcow2          file  10.00 GiB    8.62 GiB
virsh vol-list main-storage-pool --details
in.qcow2                /main-storage-pool/in.qcow2                file  10.00 GiB    8.84 GiB
</syntaxhighlight>
infranode1-docker.raw    /main-storage-pool/infranode1-docker.raw    file  100.00 GiB  100.00 GiB
infranode1.qcow2        /main-storage-pool/infranode1.qcow2        file  10.00 GiB    7.00 GiB
infranode2-docker.raw    /main-storage-pool/infranode2-docker.raw    file  100.00 GiB  100.00 GiB
infranode2.qcow2        /main-storage-pool/infranode2.qcow2        file  10.00 GiB    5.93 GiB
master1-docker.raw      /main-storage-pool/master1-docker.raw      file  10.00 GiB  10.00 GiB
master1.qcow2            /main-storage-pool/master1.qcow2            file  10.00 GiB    8.69 GiB
master2-docker.raw      /main-storage-pool/master2-docker.raw      file  10.00 GiB  10.00 GiB
master2.qcow2            /main-storage-pool/master2.qcow2            file  10.00 GiB    8.93 GiB
master3-docker.raw      /main-storage-pool/master3-docker.raw      file  10.00 GiB  10.00 GiB
master3.qcow2            /main-storage-pool/master3.qcow2            file  10.00 GiB    8.32 GiB
node1-docker.raw        /main-storage-pool/node1-docker.raw        file  100.00 GiB  100.00 GiB
node1.qcow2              /main-storage-pool/node1.qcow2              file  10.00 GiB    5.87 GiB
node2-docker.raw        /main-storage-pool/node2-docker.raw        file  100.00 GiB  100.00 GiB
node2.qcow2              /main-storage-pool/node2.qcow2              file  10.00 GiB    6.28 GiB
node3-docker.raw        /main-storage-pool/node3-docker.raw        file  10.00 GiB  10.00 GiB
node3.qcow2              /main-storage-pool/node3.qcow2              file  10.00 GiB    3.34 GiB
support-nfs.raw          /main-storage-pool/support-nfs.raw          file  100.00 GiB  100.00 GiB
support.qcow2            /main-storage-pool/support.qcow2            file  10.00 GiB    2.39 GiB
template-docker.storage  /main-storage-pool/template-docker.storage  file  100.00 MiB  100.00 MiB
template.img            /main-storage-pool/template.img            file  10.00 GiB    2.10 GiB
test-volume.raw          /main-storage-pool/test-volume.raw          file    1.00 GiB    1.00 GiB
testvm-01.img            /main-storage-pool/testvm-01.img            file    4.00 GiB    1.80 GiB


=Storage Volume Information=


=a=
[[Virsh vol-info|virsh vol-info]]


vol-list vol-info vol-name vol-path vol-key
[[Virsh vol-name|virsh vol-name]]
 
[[Virsh vol-path |virsh vol-path]]
 
[[Virsh vol-key |virsh vol-key]]

Latest revision as of 23:50, 18 April 2021

Internal

Overview

List the Storage Volumes in a Pool

The list of storage volumes, and additional details, can be obtained with:

virsh vol-list <storage-pool-name> --details

Example:

virsh vol-list main-storage-pool --details

Storage Volume Information

virsh vol-info
virsh vol-name
virsh vol-path
virsh vol-key