*pveceph* `<COMMAND> [ARGS] [OPTIONS]`
+*pveceph createmgr*
+
+An alias for 'pveceph mgr create'.
+
*pveceph createmon*
-Create Ceph Monitor
+An alias for 'pveceph mon create'.
+*pveceph createosd*
+An alias for 'pveceph osd create'.
+*pveceph createpool*
-*pveceph createosd* `<dev>` `[OPTIONS]`
+An alias for 'pveceph pool create'.
-Create OSD
+*pveceph destroymgr*
-`<dev>` `string` ::
+An alias for 'pveceph mgr destroy'.
-Block device name.
+*pveceph destroymon*
-`-fstype` `(btrfs | ext4 | xfs)` (default=`xfs`)::
+An alias for 'pveceph mon destroy'.
-File system type.
+*pveceph destroyosd*
-`-journal_dev` `string` ::
+An alias for 'pveceph osd destroy'.
-Block device name for journal.
+*pveceph destroypool*
+An alias for 'pveceph pool destroy'.
+*pveceph fs create* `[OPTIONS]`
+Create a Ceph filesystem
-*pveceph createpool* `<name>` `[OPTIONS]`
+`--add-storage` `<boolean>` ('default =' `0`)::
-Create POOL
+Configure the created CephFS as storage for this cluster.
-`<name>` `string` ::
+`--name` `<string>` ('default =' `cephfs`)::
-The name of the pool. It must be unique.
+The ceph filesystem name.
-`-crush_ruleset` `integer (0 - 32768)` (default=`0`)::
+`--pg_num` `<integer> (8 - 32768)` ('default =' `128`)::
-The ruleset to use for mapping object placement in the cluster.
+Number of placement groups for the backing data pool. The metadata pool will use a quarter of this.
-`-min_size` `integer (1 - 3)` (default=`1`)::
+*pveceph help* `[OPTIONS]`
-Minimum number of replicas per object
+Get help about specified command.
-`-pg_num` `integer (8 - 32768)` (default=`64`)::
+`--extra-args` `<array>` ::
-Number of placement groups.
+Shows help for a specific command
-`-size` `integer (1 - 3)` (default=`2`)::
+`--verbose` `<boolean>` ::
-Number of replicas per object
+Verbose output format.
+
+*pveceph init* `[OPTIONS]`
+
+Create initial ceph default configuration and setup symlinks.
+
+`--cluster-network` `<string>` ::
+
+Declare a separate cluster network, OSDs will routeheartbeat, object replication and recovery traffic over it
++
+NOTE: Requires option(s): `network`
+
+`--disable_cephx` `<boolean>` ('default =' `0`)::
+
+Disable cephx authentication.
++
+WARNING: cephx is a security feature protecting against man-in-the-middle attacks. Only consider disabling cephx if your network is private!
+
+`--min_size` `<integer> (1 - 7)` ('default =' `2`)::
+
+Minimum number of available replicas per object to allow I/O
+
+`--network` `<string>` ::
+
+Use specific network for all ceph related traffic
+
+`--pg_bits` `<integer> (6 - 14)` ('default =' `6`)::
+
+Placement group bits, used to specify the default number of placement groups.
++
+NOTE: 'osd pool default pg num' does not work for default pools.
+
+`--size` `<integer> (1 - 7)` ('default =' `3`)::
+
+Targeted number of replicas per object
+
+*pveceph install* `[OPTIONS]`
+
+Install ceph related packages.
+
+`--allow-experimental` `<boolean>` ('default =' `0`)::
+
+Allow experimental versions. Use with care!
+
+`--version` `<luminous | nautilus | octopus>` ('default =' `nautilus`)::
+
+Ceph version to install.
+
+*pveceph lspools*
+
+An alias for 'pveceph pool ls'.
+
+*pveceph mds create* `[OPTIONS]`
+
+Create Ceph Metadata Server (MDS)
+
+`--hotstandby` `<boolean>` ('default =' `0`)::
+
+Determines whether a ceph-mds daemon should poll and replay the log of an active MDS. Faster switch on MDS failure, but needs more idle resources.
+
+`--name` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ('default =' `nodename`)::
+
+The ID for the mds, when omitted the same as the nodename
+
+*pveceph mds destroy* `<name>`
+
+Destroy Ceph Metadata Server
+
+`<name>`: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
+
+The name (ID) of the mds
+
+*pveceph mgr create* `[OPTIONS]`
+
+Create Ceph Manager
+
+`--id` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
+
+The ID for the manager, when omitted the same as the nodename
+
+*pveceph mgr destroy* `<id>`
+
+Destroy Ceph Manager.
+`<id>`: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
+The ID of the manager
-*pveceph destroymon* `<monid>`
+*pveceph mon create* `[OPTIONS]`
-Destroy Ceph monitor.
+Create Ceph Monitor and Manager
-`<monid>` `integer` ::
+`--mon-address` `<string>` ::
+
+Overwrites autodetected monitor IP address. Must be in the public network of ceph.
+
+`--monid` `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
+
+The ID for the monitor, when omitted the same as the nodename
+
+*pveceph mon destroy* `<monid>`
+
+Destroy Ceph Monitor and Manager.
+
+`<monid>`: `[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?` ::
Monitor ID
+*pveceph osd create* `<dev>` `[OPTIONS]`
+Create OSD
+`<dev>`: `<string>` ::
-*pveceph destroyosd* `<osdid>` `[OPTIONS]`
+Block device name.
+
+`--crush-device-class` `<string>` ::
+
+Set the device class of the OSD in crush.
+
+`--db_dev` `<string>` ::
+
+Block device name for block.db.
+
+`--db_size` `<number> (1 - N)` ('default =' `bluestore_block_db_size or 10% of OSD size`)::
+
+Size in GiB for block.db.
++
+NOTE: Requires option(s): `db_dev`
+
+`--encrypted` `<boolean>` ('default =' `0`)::
+
+Enables encryption of the OSD.
+
+`--wal_dev` `<string>` ::
+
+Block device name for block.wal.
+
+`--wal_size` `<number> (0.5 - N)` ('default =' `bluestore_block_wal_size or 1% of OSD size`)::
+
+Size in GiB for block.wal.
++
+NOTE: Requires option(s): `wal_dev`
+
+*pveceph osd destroy* `<osdid>` `[OPTIONS]`
Destroy OSD
-`<osdid>` `integer` ::
+`<osdid>`: `<integer>` ::
OSD ID
-`-cleanup` `boolean` (default=`0`)::
+`--cleanup` `<boolean>` ('default =' `0`)::
If set, we remove partition table entries.
+*pveceph pool create* `<name>` `[OPTIONS]`
+Create POOL
+`<name>`: `<string>` ::
-*pveceph destroypool* `<name>`
+The name of the pool. It must be unique.
-Destroy pool
+`--add_storages` `<boolean>` ::
-`<name>` `string` ::
+Configure VM and CT storage using the new pool.
-The name of the pool. It must be unique.
+`--application` `<cephfs | rbd | rgw>` ('default =' `rbd`)::
+The application of the pool.
+`--crush_rule` `<string>` ::
+The rule to use for mapping object placement in the cluster.
-*pveceph help* `[<cmd>]` `[OPTIONS]`
+`--min_size` `<integer> (1 - 7)` ('default =' `2`)::
-Get help about specified command.
+Minimum number of replicas per object
-`<cmd>` `string` ::
+`--pg_autoscale_mode` `<off | on | warn>` ('default =' `warn`)::
-Command name
+The automatic PG scaling mode of the pool.
-`-verbose` `boolean` ::
+`--pg_num` `<integer> (8 - 32768)` ('default =' `128`)::
-Verbose output format.
+Number of placement groups.
+`--size` `<integer> (1 - 7)` ('default =' `3`)::
+Number of replicas per object
+*pveceph pool destroy* `<name>` `[OPTIONS]`
-*pveceph init* `[OPTIONS]`
+Destroy pool
-Create initial ceph default configuration and setup symlinks.
+`<name>`: `<string>` ::
-`-network` `string` ::
+The name of the pool. It must be unique.
-Use specific network for all ceph related traffic
+`--force` `<boolean>` ('default =' `0`)::
-`-pg_bits` `integer (6 - 14)` (default=`6`)::
+If true, destroys pool even if in use
-Placement group bits, used to specify the default number of placement
-groups.
-+
-NOTE: 'osd pool default pg num' does not work for default pools.
+`--remove_storages` `<boolean>` ('default =' `0`)::
-`-size` `integer (1 - 3)` (default=`2`)::
+Remove all pveceph-managed storages configured for this pool
-Number of replicas per object
+*pveceph pool ls* `[FORMAT_OPTIONS]`
+List all pools.
+*pveceph pool set* `<name>` `[OPTIONS]`
+Change POOL settings
-*pveceph install* `[OPTIONS]`
+`<name>`: `<string>` ::
-Install ceph related packages.
+The name of the pool. It must be unique.
-`-version` `(hammer)` ::
+`--application` `<cephfs | rbd | rgw>` ::
-no description available
+The application of the pool.
+`--crush_rule` `<string>` ::
+The rule to use for mapping object placement in the cluster.
+`--min_size` `<integer> (1 - 7)` ::
-*pveceph lspools*
+Minimum number of replicas per object
-List all pools.
+`--pg_autoscale_mode` `<off | on | warn>` ::
+The automatic PG scaling mode of the pool.
+`--pg_num` `<integer> (8 - 32768)` ::
+Number of placement groups.
+
+`--size` `<integer> (1 - 7)` ::
+
+Number of replicas per object
-*pveceph purge*
+*pveceph purge* `[OPTIONS]`
Destroy ceph related data and configuration files.
+`--crash` `<boolean>` ::
+Additionally purge Ceph crash logs, /var/lib/ceph/crash.
+`--logs` `<boolean>` ::
-*pveceph start* `[<service>]`
+Additionally purge Ceph logs, /var/log/ceph.
+
+*pveceph start* `[OPTIONS]`
Start ceph services.
-`<service>` `(mon|mds|osd)\.[A-Za-z0-9]{1,32}` ::
+`--service` `(ceph|mon|mds|osd|mgr)(\.[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?)?` ('default =' `ceph.target`)::
Ceph service name.
-
-
*pveceph status*
Get ceph status.
-
-
-*pveceph stop* `[<service>]`
+*pveceph stop* `[OPTIONS]`
Stop ceph services.
-`<service>` `(mon|mds|osd)\.[A-Za-z0-9]{1,32}` ::
+`--service` `(ceph|mon|mds|osd|mgr)(\.[a-zA-Z0-9]([a-zA-Z0-9\-]*[a-zA-Z0-9])?)?` ('default =' `ceph.target`)::
Ceph service name.
-
-