virsh-pool-*: add pages

manned-org^2
Adam Herst 2021-05-27 15:21:39 -04:00 committed by Starbeamrainbowlabs
parent 6f1cd48ae2
commit 882067d933
9 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# virsh-pool-autostart
> Enable or disable autostart for a virtual machine storage pool.
> See also: `virsh`.
> More information: <https://manned.org/virsh>.
- Enable autostart for the storage pool specified by name or UUID (determine the name or UUID using `virsh pool-list`):
`virsh pool-autostart --pool {{name|uuid}}`
- Disable autostart for the storage pool specified by name or UUID:
`virsh pool-autostart --pool {{name|uuid}} --disable`

View File

@ -0,0 +1,9 @@
# virsh-pool-build
> Build the underlying storage system for a virtual machine storage pool as defined in it's configuration file (create a configuration file using `virsh pool-define-as`).
> See also: `virsh`.
> More information: <https://manned.org/virsh>.
- Build the storage pool specified by name or UUID (determine the name or UUID using `virsh pool-list` and start the pool once built using `virsh pool-start`):
`virsh pool-build --pool {{name|uuid}}`

View File

@ -0,0 +1,9 @@
# virsh-pool-define-as
> Create a configuration file in `/etc/libvirt/storage` for a persistent virtual machine storage pool from the provided arguments.
> See also: `virsh`.
> More information: <https://manned.org/virsh>.
- Create the configuration file for a storage pool called pool_name using `/var/vms` as the underlying storage system (use `virsh pool-build` to create the underlying storage system if it doesn't exist and use `virsh pool-start` to start the inactive pool):
`virsh pool-define-as --name {{pool_name}} --type {{dir}} --target {{/var/vms}}`

View File

@ -0,0 +1,9 @@
# virsh-pool-delete
> Delete the underlying storage system of an inactive virtual machine storage pool (stop a storage pool with `virsh pool-destroy` and delete the storage pool configuration file with `virsh pool-undefine`).
> See also: `virsh`.
> More information: <https://manned.org/virsh>.
- Delete the underlying storage system for the storage pool specified by name or UUID (determine the name or UUID using `virsh pool-list`):
`virsh pool-delete --pool {{name|uuid}}`

View File

@ -0,0 +1,9 @@
# virsh-pool-destroy
> Stop an active virtual machine storage pool (delete a stopped storage pool using `virsh pool-delete`).
> See also: `virsh`.
> More information: <https://manned.org/virsh>.
- Stop a storage pool specified by name or UUID (determine the name or UUID using `virsh pool-list`):
`virsh pool-destroy --pool {{name|uuid}}`

View File

@ -0,0 +1,9 @@
# virsh-pool-info
> List information about a virtual machine storage pool.
> See also: `virsh`.
> More information: <https://manned.org/virsh>.
- List the name, UUID, state, persistence type, autostart status, capacity, space allocated, and space available for the storage pool specified by name or UUID (determine the name or UUID using `virsh pool-list`):
`virsh pool-info --pool {{name|uuid}}`

View File

@ -0,0 +1,29 @@
# 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`

View File

@ -0,0 +1,9 @@
# virsh-pool-start
> Start a previously configured but inactive virtual machine storage pool (configure a pool with `virsh pool-define-as` and stop a pool with `virsh pool-destroy`).
> See also: `virsh`.
> More information: <https://manned.org/virsh>.
- Start the storage pool specified by name or UUID (determine the name or UUID using `virsh pool-list`) and create the underlying storage system if it doesn't exist:
`virsh pool-start --pool {{name|uuid}} --build`

View File

@ -0,0 +1,9 @@
# virsh-pool-undefine
> Delete the configuration file in `/etc/libvirt/storage` for a stopped virtual machine storage pool (stop a pool using `virsh pool-destroy`).
> See also: `virsh`.
> More information: <https://manned.org/virsh>.
- Delete the configuration for the storage pool specified name or UUID (determine the name or UUID using `virsh pool-list`):
`virsh pool-undefine --pool {{name|uuid}}`