]> git.proxmox.com Git - ceph.git/blobdiff - ceph/doc/man/8/ceph-volume.rst
update sources to 12.2.8
[ceph.git] / ceph / doc / man / 8 / ceph-volume.rst
index 50a2e52803928780463110ea6b71c6c895a10b80..197bea1aed932ae735e5e0fa89ba189833210e07 100644 (file)
@@ -13,7 +13,7 @@ Synopsis
 |                 [--log-path LOG_PATH]
 
 | **ceph-volume** **lvm** [ *trigger* | *create* | *activate* | *prepare*
-| *zap* | *list*]
+| *zap* | *list* | *batch*]
 
 | **ceph-volume** **simple** [ *trigger* | *scan* | *activate* ]
 
@@ -43,6 +43,35 @@ activated.
 
 Subcommands:
 
+**batch**
+Creates OSDs from a list of devices using a ``filestore``
+or ``bluestore`` (default) setup. It will create all necessary volume groups
+and logical volumes required to have a working OSD.
+
+Example usage with three devices::
+
+    ceph-volume lvm batch --bluestore /dev/sda /dev/sdb /dev/sdc
+
+Optional arguments:
+
+* [-h, --help]          show the help message and exit
+* [--bluestore]         Use the bluestore objectstore (default)
+* [--filestore]         Use the filestore objectstore
+* [--yes]               Skip the report and prompt to continue provisioning
+* [--dmcrypt]           Enable encryption for the underlying OSD devices
+* [--crush-device-class] Define a CRUSH device class to assign the OSD to
+* [--no-systemd]         Do not enable or create any systemd units
+* [--report]         Report what the potential outcome would be for the
+                     current input (requires devices to be passed in)
+* [--format]         Output format when reporting (used along with
+                     --report), can be one of 'pretty' (default) or 'json'
+
+Required positional arguments:
+
+* <DEVICE>    Full path to a raw device, like ``/dev/sda``. Multiple
+              ``<DEVICE>`` paths can be passed in.
+
+
 **activate**
 Enables a systemd unit that persists the OSD ID and its UUID (also called
 ``fsid`` in Ceph CLI tools), so that at boot time it can understand what OSD is