← 返回命令列表

Linux command

virsh-pool-list 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List active pools

virsh pool-list

List all pools including inactive

virsh pool-list --all

List only inactive pools

virsh pool-list --inactive

List all pools with capacity details

virsh pool-list --all --details

说明

virsh pool-list displays storage pools managed by libvirt. By default, only active pools are shown. The output includes pool name, state, and autostart configuration. Use --details for capacity and allocation information.

参数

--all
List both active and inactive pools.
--inactive
List only inactive pools.
--details
Show detailed information including capacity, allocation, and available space.
--uuid
Display pool UUIDs.
--name
Display pool names only.
--autostart
Show autostart status.

FAQ

What is the virsh-pool-list command used for?

virsh pool-list displays storage pools managed by libvirt. By default, only active pools are shown. The output includes pool name, state, and autostart configuration. Use --details for capacity and allocation information.

How do I run a basic virsh-pool-list example?

Run `virsh pool-list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --all do in virsh-pool-list?

List both active and inactive pools.