From e17f5354d5f544082393b3e0eabc1c052c501a52 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 17 May 2018 09:05:52 -0400 Subject: [PATCH] doc/ceph-volume activate is able to use --all for existing OSDs Signed-off-by: Alfredo Deza (cherry picked from commit d8b9a7c0745d6a901988a08a8218d9da585e5aa8) --- doc/ceph-volume/lvm/activate.rst | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/doc/ceph-volume/lvm/activate.rst b/doc/ceph-volume/lvm/activate.rst index f4a989a4db63f..5e43d4cb5f566 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 @@ -74,9 +86,11 @@ ensure that the correct device is linked. Existing OSDs ------------- -For existing 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 ------- -- 2.39.5