KVM Virtualization Storage Volume Info

From NovaOrdis Knowledge Base
Revision as of 19:49, 3 November 2017 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

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
 Name                     Path                                        Type    Capacity  Allocation
---------------------------------------------------------------------------------------------------
appproxy.qcow2           /main-storage-pool/appproxy.qcow2           file   10.00 GiB    8.62 GiB
in.qcow2                 /main-storage-pool/in.qcow2                 file   10.00 GiB    8.84 GiB
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


vol-list vol-info vol-name vol-path vol-key