pool

Manages pools in MicroCeph.

Usage:

microceph pool [command]

Available commands:

set-rf      Set the replication factor for pools

Global flags:

-d, --debug       Show all debug messages
-h, --help        Print help
    --state-dir   Path to store state information
-v, --verbose     Show all information messages
    --version     Print version number

set-rf

Sets the replication factor for one or more pools in the cluster. The replication factor (an integer) is set with the required --size flag. The command takes the pool specification (a string) as one or more arguments.

The pool specification can take one of three forms: Either a list of pools, separated by a space, in which case the replication factor is applied only to those pools (provided they exist). It can also be an asterisk (‘*’) in which case the process is applied to all existing pools; or an empty string (‘’), which sets the default pool size, but doesn’t change any existing pools.

Usage:

microceph pool set-rf --size <replication-factor> <pool-spec>... [flags]

Flags:

--size int   Pool size (required)