From: Alfredo Deza Date: Fri, 1 Sep 2017 15:29:51 +0000 (-0400) Subject: doc/ceph-volume activate re-links the journal always X-Git-Tag: v13.0.1~1079^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=794067e6940740333e16d9971a9154680bd32d8e;p=ceph.git doc/ceph-volume activate re-links the journal always Signed-off-by: Alfredo Deza --- diff --git a/doc/ceph-volume/lvm/activate.rst b/doc/ceph-volume/lvm/activate.rst index b9f30d69f3d..901f2cd2b6c 100644 --- a/doc/ceph-volume/lvm/activate.rst +++ b/doc/ceph-volume/lvm/activate.rst @@ -31,17 +31,17 @@ the same id exists and would end up activating the incorrect one. Discovery --------- -With either existing OSDs or new ones being activated, a *discovery* process is +With OSDs previously created by ``ceph-volume``, a *discovery* process is performed using :term:`LVM tags` to enable the systemd units. The systemd unit will capture the :term:`OSD id` and :term:`OSD uuid` and persist it. Internally, the activation will enable it like:: - systemctl enable ceph-volume@$id-$uuid-lvm + systemctl enable ceph-volume@lvm-$id-$uuid For example:: - systemctl enable ceph-volume@0-8715BEB4-15C5-49DE-BA6F-401086EC7B41-lvm + systemctl enable ceph-volume@lvm-0-8715BEB4-15C5-49DE-BA6F-401086EC7B41 Would start the discovery process for the OSD with an id of ``0`` and a UUID of ``8715BEB4-15C5-49DE-BA6F-401086EC7B41``. @@ -54,7 +54,11 @@ The systemd unit will look for the matching OSD device, and by looking at its # mount the device in the corresponding location (by convention this is ``/var/lib/ceph/osd/-/``) -# ensure that all required devices are ready for that OSD +# ensure that all required devices are ready for that OSD. In the case of +a journal (when ``--filestore`` is selected) the device will be queried (with +``blkid`` for partitions, and lvm for logical volumes) to ensure that the +correct device is being linked. The symbolic link will *always* be re-done to +ensure that the correct device is linked. # start the ``ceph-osd@0`` systemd unit