qvm-pool.rst 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. .. program:: qvm-pool
  2. :program:`qvm-pool` -- Manage pools
  3. ===================================
  4. Synopsis
  5. --------
  6. | :command:`qvm-pool` {add,a} [*options*] <*pool_name*> <*driver*>
  7. | :command:`qvm-pool` {drivers,d} [*options*]
  8. | :command:`qvm-pool` {info,i} [*options*] <*pool_name*>
  9. | :command:`qvm-pool` {list,ls,l} [*options*]
  10. | :command:`qvm-pool` {remove,rm,i} [*options*] <*pool_name*> ...
  11. | :command:`qvm-pool` {set,s} [*options*] <*pool_name*>
  12. Legacy Mode
  13. ^^^^^^^^^^^
  14. | :command:`qvm-pool` [*options*] {-a, --add} <*pool_name*> <*driver*>
  15. | :command:`qvm-pool` [*options*] {-i, --info} <*pool_name*>
  16. | :command:`qvm-pool` [*options*] {-l, --list}
  17. | :command:`qvm-pool` [*options*] {-r, --remove} <*pool_name*>
  18. | :command:`qvm-pool` [*options*] {-s, --set} <*pool_name*>
  19. | :command:`qvm-pool` [*options*] --help-drivers
  20. .. deprecated:: 4.0.18
  21. Options
  22. -------
  23. .. option:: --help, -h
  24. Show this help message and exit
  25. .. option:: --quiet, -q
  26. Be quiet
  27. .. option:: --verbose, -v
  28. Increase verbosity
  29. Commands
  30. --------
  31. add
  32. ^^^
  33. | :command:`qvm-pool add` [-h] [--verbose] [--quiet] *POOL_NAME* *DRIVER*
  34. Add a new pool.
  35. .. option:: --option, -o
  36. Set option for the driver in `name=value` format. You can specify this
  37. option multiple times.
  38. .. seealso:: The `drivers` command for supported drivers and their options.
  39. aliases: a
  40. Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --add *POOL_NAME* *DRIVER* -o *OPTIONS*
  41. drivers
  42. ^^^^^^^
  43. | :command:`qvm-pool drivers` [-h] [--verbose] [--quiet]
  44. List all known drivers with their options.
  45. The listed driver options can be used with the ``-o options`` switch.
  46. aliases: d
  47. Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --help-drivers
  48. info
  49. ^^^^
  50. | :command:`qvm-pool info` [-h] [--verbose] [--quiet] *POOL_NAME*
  51. Print info about a specified pool
  52. aliases: i
  53. Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --info *POOL_NAME*
  54. list
  55. ^^^^
  56. | :command:`qvm-pool list` [-h] [--verbose] [--quiet]
  57. List all available pools.
  58. aliases: l, ls
  59. Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --list
  60. remove
  61. ^^^^^^
  62. | :command:`qvm-pool remove` [-h] [--verbose] [--quiet] *POOL_NAME* [*POOL_NAME* ...]
  63. Remove the specified pools. This removes only the information about the pool
  64. from qubes.xml, but does not delete any content (FIXME: is it really true for
  65. all pool drivers?).
  66. aliases: r, rm
  67. Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --remove *POOL_NAME* [*POOL_NAME* ...]
  68. set
  69. ^^^
  70. | :command:`qvm-pool set` [-h] [--verbose] [--quiet] *POOL_NAME*
  71. Modify driver options for a pool.
  72. .. option:: --option, -o
  73. Set option for the driver in `name=value` format. You can specify this
  74. option multiple times.
  75. .. seealso:: The `drivers` command for supported drivers and their options.
  76. aliases: s
  77. Legacy mode: :command:`qvm-pool` [-h] [--verbose] [--quiet] --set *POOL_NAME* -o *OPTIONS*
  78. Examples
  79. --------
  80. Create a pool backed by the `file` driver.
  81. ::
  82. qvm-pool add foo file -o dir_path=/mnt/foo
  83. Authors
  84. -------
  85. | Bahtiar \`kalkin-\` Gadimov <bahtiar at gadimov dot de>
  86. | Saswat Padhi <padhi at cs dot ucla dot edu>