2017-08-17 13:24:14 +00:00
|
|
|
.. _ceph-volume:
|
|
|
|
|
|
|
|
ceph-volume
|
|
|
|
===========
|
|
|
|
Deploy OSDs with different device technologies like lvm or physical disks using
|
2017-11-06 19:17:20 +00:00
|
|
|
pluggable tools (:doc:`lvm/index` itself is treated like a plugin) and trying to
|
|
|
|
follow a predictable, and robust way of preparing, activating, and starting OSDs.
|
2017-08-17 13:24:14 +00:00
|
|
|
|
|
|
|
:ref:`Overview <ceph-volume-overview>` |
|
|
|
|
:ref:`Plugin Guide <ceph-volume-plugins>` |
|
|
|
|
|
|
|
|
|
|
|
|
**Command Line Subcommands**
|
2017-11-06 19:17:20 +00:00
|
|
|
There is currently support for ``lvm``, and plain disks (with GPT partitions)
|
|
|
|
that may have been deployed with ``ceph-disk``.
|
2017-08-17 13:24:14 +00:00
|
|
|
|
|
|
|
* :ref:`ceph-volume-lvm`
|
2017-11-06 19:17:20 +00:00
|
|
|
* :ref:`ceph-volume-simple`
|
2017-08-17 13:24:14 +00:00
|
|
|
|
2017-11-17 18:10:29 +00:00
|
|
|
|
|
|
|
Migrating
|
|
|
|
---------
|
|
|
|
Starting on Ceph version 12.2.2, ``ceph-disk`` is deprecated. Deprecation
|
|
|
|
warnings will show up that will link to this page. It is strongly suggested
|
|
|
|
that users start consuming ``ceph-volume``.
|
|
|
|
|
|
|
|
New deployments
|
|
|
|
^^^^^^^^^^^^^^^
|
|
|
|
For new deployments, :ref:`ceph-volume-lvm` is recommended, it can use any
|
|
|
|
logical volume as input for data OSDs, or it can setup a minimal/naive logical
|
|
|
|
volume from a device.
|
|
|
|
|
|
|
|
Existing OSDs
|
|
|
|
^^^^^^^^^^^^^
|
|
|
|
If the cluster has OSDs that were provisioned with ``ceph-disk``, then
|
|
|
|
``ceph-volume`` can take over the management of these with
|
|
|
|
:ref:`ceph-volume-simple`. A scan is done on the data device or OSD directory,
|
2018-02-02 13:28:40 +00:00
|
|
|
and ``ceph-disk`` is fully disabled. Encryption is fully supported.
|
2017-11-17 18:10:29 +00:00
|
|
|
|
|
|
|
|
2017-08-17 13:24:14 +00:00
|
|
|
.. toctree::
|
|
|
|
:hidden:
|
|
|
|
:maxdepth: 3
|
|
|
|
:caption: Contents:
|
|
|
|
|
|
|
|
intro
|
2017-11-09 15:50:43 +00:00
|
|
|
systemd
|
2017-08-17 13:24:14 +00:00
|
|
|
lvm/index
|
|
|
|
lvm/activate
|
2018-01-22 19:21:37 +00:00
|
|
|
lvm/encryption
|
2017-08-17 13:24:14 +00:00
|
|
|
lvm/prepare
|
2017-08-21 20:02:15 +00:00
|
|
|
lvm/create
|
2017-08-17 13:24:14 +00:00
|
|
|
lvm/scan
|
|
|
|
lvm/systemd
|
2017-10-03 15:41:10 +00:00
|
|
|
lvm/list
|
2017-10-24 15:13:40 +00:00
|
|
|
lvm/zap
|
2017-11-06 19:17:20 +00:00
|
|
|
simple/index
|
|
|
|
simple/activate
|
|
|
|
simple/scan
|
|
|
|
simple/systemd
|