]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
docs: Add docs for new host rescan feature
authorPaul Cuzner <pcuzner@redhat.com>
Mon, 30 May 2022 01:55:27 +0000 (13:55 +1200)
committerAdam King <adking@redhat.com>
Sun, 31 Jul 2022 18:16:45 +0000 (14:16 -0400)
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
(cherry picked from commit 4525113fa123a5b1e8a23d6aefc306e6772326bc)

doc/cephadm/host-management.rst

index c1534b6132ced9e1981916a1d1cbff53f2eca0b2..22f66eeafa11fc4bf82f51094a4901f539440548 100644 (file)
@@ -177,6 +177,21 @@ Where the force flag when entering maintenance allows the user to bypass warning
 
 See also :ref:`cephadm-fqdn`
 
+Rescanning Host Devices
+=======================
+
+Some servers and external enclosures may not register device removal or insertion with the
+kernel. In these scenarios, you'll need to perform a host rescan. A rescan is typically
+non-disruptive, and can be performed with the following CLI command.::
+
+    ceph orch host rescan <hostname> [--with-summary]
+
+The ``with-summary`` flag provides a breakdown of the number of HBAs found and scanned, together
+with any that failed.::
+
+    [ceph: root@rh9-ceph1 /]# ceph orch host rescan rh9-ceph1 --with-summary
+    Ok. 2 adapters detected: 2 rescanned, 0 skipped, 0 failed (0.32s)
+
 Creating many hosts at once
 ===========================