Linux command
virsh-pool-autostart 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Enable pool autostart
virsh pool-autostart [pool]
Disable pool autostart
virsh pool-autostart [pool] --disable
说明
virsh pool-autostart configures whether a libvirt storage pool starts automatically with the libvirt daemon. When enabled, the pool becomes active at daemon startup; disabling it requires manual start via `virsh pool-start`. The setting is persisted in the pool's XML definition.
参数
- --disable
- Disable autostart.
FAQ
What is the virsh-pool-autostart command used for?
virsh pool-autostart configures whether a libvirt storage pool starts automatically with the libvirt daemon. When enabled, the pool becomes active at daemon startup; disabling it requires manual start via `virsh pool-start`. The setting is persisted in the pool's XML definition.
How do I run a basic virsh-pool-autostart example?
Run `virsh pool-autostart [pool]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --disable do in virsh-pool-autostart?
Disable autostart.