Virsh vol-list

From wikieduonline
Jump to navigation Jump to search

virsh vol-list POOL_NAME --details (Pool needs to be active)

# virsh vol-list POOL_NAME --details 
 Name       Path                       Type   Capacity  Allocation
-------------------------------------------------------------------
 fedora-28  /home/user/POOL_NAME/fedora-28  file  15.00 GiB    1.82 GiB
# virsh vol-list POOL_NAME --details
error: Failed to list volumes
error: Requested operation is not valid: storage pool 'POOL_NAME' is not active

Start it first with command: virsh pool-start POOL_NAME


See also

Advertising: