2021-05-27 20:39:30 +01:00
|
|
|
# virsh pool-list
|
2021-05-27 20:21:39 +01:00
|
|
|
|
2021-06-03 16:38:15 +01:00
|
|
|
> List information about virtual machine storage pools.
|
|
|
|
> See also: `virsh`, `virsh-pool-autostart`, `virsh-pool-define-as`.
|
2021-05-27 20:21:39 +01:00
|
|
|
> More information: <https://manned.org/virsh>.
|
|
|
|
|
|
|
|
- List the name, state, and whether autostart is enabled or disabled for active storage pools:
|
|
|
|
|
|
|
|
`virsh pool-list`
|
|
|
|
|
|
|
|
- List information for active and inactive or just inactive storage pools:
|
|
|
|
|
|
|
|
`virsh pool-list --{{all|inactive}}`
|
|
|
|
|
|
|
|
- List extended information about persistence, capacity, allocation, and available space for active storage pools:
|
|
|
|
|
|
|
|
`virsh pool-list --details`
|
|
|
|
|
2021-06-03 16:38:15 +01:00
|
|
|
- List information for active storage pools with either autostart enabled or disabled:
|
2021-05-27 20:21:39 +01:00
|
|
|
|
|
|
|
`virsh pool-list --{{autostart|no-autostart}}`
|
|
|
|
|
|
|
|
- List information for active storage pools that are either persistent or transient:
|
|
|
|
|
|
|
|
`virsh pool-list --{{persistent|transient}}`
|
|
|
|
|
|
|
|
- List the name and UUID of active storage pools:
|
|
|
|
|
|
|
|
`virsh pool-list --name --uuid`
|