mirror of https://github.com/CrimsonTome/tldr.git
30 lines
980 B
Markdown
30 lines
980 B
Markdown
|
# virsh-pool-list
|
||
|
|
||
|
> List information about virtual machine storage pools (create a storage pool with `virsh pool-define-as`).
|
||
|
> See also: `virsh`.
|
||
|
> 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`
|
||
|
|
||
|
- List information for active storage pools with either autostart enabled or disabled (enable or disable autostart with `virsh pool-autostart`):
|
||
|
|
||
|
`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`
|