core-admin-client/doc/manpages/qvm-pool.rst

134 lines
3.1 KiB
ReStructuredText
Raw Normal View History

.. program:: qvm-pool
2019-11-03 14:39:09 +01:00
:program:`qvm-pool` -- Manage pools
===================================
Synopsis
--------
2019-11-03 14:39:09 +01:00
| :command:`qvm-pool` {add,a} [*options*] <*pool_name*> <*driver*>
| :command:`qvm-pool` {drivers,d} [*options*]
| :command:`qvm-pool` {info,i} [*options*] <*pool_name*>
| :command:`qvm-pool` {list,ls,l} [*options*]
| :command:`qvm-pool` {remove,rm,i} [*options*] <*pool_name*> ...
| :command:`qvm-pool` {set,s} [*options*] <*pool_name*>
2019-11-04 09:57:21 +01:00
Legacy Mode
^^^^^^^^^^^
| :command:`qvm-pool` [*options*] {-a, --add} <*pool_name*> <*driver*>
| :command:`qvm-pool` [*options*] {-i, --info} <*pool_name*>
| :command:`qvm-pool` [*options*] {-l, --list}
| :command:`qvm-pool` [*options*] {-r, --remove} <*pool_name*>
| :command:`qvm-pool` [*options*] {-s, --set} <*pool_name*>
| :command:`qvm-pool` [*options*] --help-drivers
.. deprecated:: 4.0.18
Options
-------
.. option:: --help, -h
Show this help message and exit
.. option:: --quiet, -q
Be quiet
.. option:: --verbose, -v
Increase verbosity
2019-11-03 14:39:09 +01:00
Commands
--------
add
^^^
| :command:`qvm-pool add` [-h] [--verbose] [--quiet] *POOL_NAME* *DRIVER*
Add a new pool.
.. option:: --option, -o
Set option for the driver in `name=value` format. You can specify this
2019-11-04 09:57:21 +01:00
option multiple times.
.. seealso:: The `drivers` command for supported drivers and their options.
2019-11-03 14:39:09 +01:00
aliases: a
2019-11-04 09:57:21 +01:00
Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --add *POOL_NAME* *DRIVER* -o *OPTIONS*
2019-11-03 14:39:09 +01:00
drivers
^^^^^^^
| :command:`qvm-pool drivers` [-h] [--verbose] [--quiet]
2019-11-03 14:39:09 +01:00
List all known drivers with their options.
The listed driver options can be used with the ``-o options`` switch.
2019-11-03 14:39:09 +01:00
aliases: d
2019-11-04 09:57:21 +01:00
Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --help-drivers
2019-11-03 14:39:09 +01:00
info
^^^^
| :command:`qvm-pool info` [-h] [--verbose] [--quiet] *POOL_NAME*
2019-11-03 14:39:09 +01:00
Print info about a specified pool
2019-11-03 14:39:09 +01:00
aliases: i
2019-11-04 09:57:21 +01:00
Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --info *POOL_NAME*
2019-11-03 14:39:09 +01:00
list
^^^^
| :command:`qvm-pool list` [-h] [--verbose] [--quiet]
2019-11-03 14:39:09 +01:00
List all available pools.
2019-11-03 14:39:09 +01:00
aliases: l, ls
2019-11-04 09:57:21 +01:00
Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --list
2019-11-03 14:39:09 +01:00
remove
^^^^^^
| :command:`qvm-pool remove` [-h] [--verbose] [--quiet] *POOL_NAME* [*POOL_NAME* ...]
2019-11-03 14:39:09 +01:00
Remove the specified pools. This removes only the information about the pool
from qubes.xml, but does not delete any content (FIXME: is it really true for
all pool drivers?).
2019-11-03 14:39:09 +01:00
aliases: r, rm
2019-11-04 09:57:21 +01:00
Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --remove *POOL_NAME* [*POOL_NAME* ...]
2019-11-03 14:39:09 +01:00
set
^^^
| :command:`qvm-pool set` [-h] [--verbose] [--quiet] *POOL_NAME*
Modify driver options for a pool.
.. option:: --option, -o
Set option for the driver in `name=value` format. You can specify this
2019-11-04 09:57:21 +01:00
option multiple times.
.. seealso:: The `drivers` command for supported drivers and their options.
2019-11-03 14:39:09 +01:00
aliases: s
2019-11-04 09:57:21 +01:00
Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --set *POOL_NAME* -o *OPTIONS*
Examples
--------
Create a pool backed by the `file` driver.
2019-11-03 14:39:09 +01:00
::
2019-11-03 14:39:09 +01:00
qvm-pool add foo file -o dir_path=/mnt/foo
Authors
-------
2019-11-03 14:39:09 +01:00
| Bahtiar \`kalkin-\` Gadimov <bahtiar at gadimov dot de>
| Saswat Padhi <padhi at cs dot ucla dot edu>