From: Alfredo Deza Date: Thu, 17 May 2018 13:05:52 +0000 (-0400) Subject: doc/ceph-volume activate is able to use --all for existing OSDs X-Git-Tag: v12.2.6~33^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5c402569563ffc0372a45af5e52dedd88e830d87;p=ceph.git doc/ceph-volume activate is able to use --all for existing OSDs Signed-off-by: Alfredo Deza (cherry picked from commit d8b9a7c0745d6a901988a08a8218d9da585e5aa8) Conflicts: doc/ceph-volume/lvm/activate.rst --- diff --git a/doc/ceph-volume/lvm/activate.rst b/doc/ceph-volume/lvm/activate.rst index 6afd2378326..e757f5266e5 100644 --- a/doc/ceph-volume/lvm/activate.rst +++ b/doc/ceph-volume/lvm/activate.rst @@ -22,6 +22,18 @@ need to be supplied. For example:: .. note:: The UUID is stored in the ``fsid`` file in the OSD path, which is generated when :ref:`ceph-volume-lvm-prepare` is used. +Activating all OSDs +------------------- +It is possible to activate all existing OSDs at once by using the ``--all`` +flag. For example:: + + ceph-volume lvm activate --all + +This call will inspect all the OSDs created by ceph-volume that are inactive +and will activate them one by one. If any of the OSDs are already running, it +will report them in the command output and skip them, making it safe to rerun +(idempotent). + requiring uuids ^^^^^^^^^^^^^^^ The :term:`OSD uuid` is being required as an extra step to ensure that the @@ -70,9 +82,11 @@ The systemd unit will look for the matching OSD device, and by looking at its Existing OSDs ------------- -For exsiting OSDs that have been deployed with different tooling, the only way -to port them over to the new mechanism is to prepare them again (losing data). -See :ref:`ceph-volume-lvm-existing-osds` for details on how to proceed. +For existing OSDs that have been deployed with ``ceph-disk``, they need to be +scanned and activated :ref:`using the simple sub-command `. +If a different tooling was used then the only way to port them over to the new +mechanism is to prepare them again (losing data). See +:ref:`ceph-volume-lvm-existing-osds` for details on how to proceed. Summary -------