]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/ceph-volume activate is able to use --all for existing OSDs
authorAlfredo Deza <adeza@redhat.com>
Thu, 17 May 2018 13:05:52 +0000 (09:05 -0400)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 12 Jun 2018 13:48:34 +0000 (08:48 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d8b9a7c0745d6a901988a08a8218d9da585e5aa8)

doc/ceph-volume/lvm/activate.rst

index f4a989a4db63f74daefe39b61b2fde0c30f8fd1c..5e43d4cb5f566ea711bda78bfeec951922a851c9 100644 (file)
@@ -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 <ceph-volume-simple>`.
+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
 -------