LinuxCommandLibrary

virsh-pool-list

List information about virtual machine storage pools.

TLDR

List the name, state, and whether autostart is enabled or disabled for active storage pools

$ virsh pool-list
copy


List information for active and inactive or just inactive storage pools
$ virsh pool-list --[all|inactive]
copy


List extended information about persistence, capacity, allocation, and available space for active storage pools
$ virsh pool-list --details
copy


List information for active storage pools with either autostart enabled or disabled
$ virsh pool-list --[autostart|no-autostart]
copy


List information for active storage pools that are either persistent or transient
$ virsh pool-list --[persistent|transient]
copy


List the name and UUID of active storage pools
$ virsh pool-list --name --uuid
copy

Copied to clipboard