Virsh vol-list

From NovaOrdis Knowledge Base
Jump to: navigation, search

Internal

Overview

Return the list of volumes in the specified storage pool.

virsh vol-list <storage-pool-name> [--details]
virsh vol-list main-storage-pool --details
Name                     Path                                        Type    Capacity  Allocation
---------------------------------------------------------------------------------------------------
appproxy.qcow2           /main-storage-pool/appproxy.qcow2           file   10.00 GiB    8.60 GiB
in.qcow2                 /main-storage-pool/in.qcow2                 file   10.00 GiB    8.82 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    6.99 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.92 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    7.91 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.84 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.18 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