]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Add ceph orch zap command
authorZac Dover <zac.dover@gmail.com>
Mon, 20 Apr 2020 20:57:18 +0000 (06:57 +1000)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 21 May 2020 21:33:18 +0000 (23:33 +0200)
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 0455c0e608a02266e8f98fef1643f03d9293ad0a)

doc/mgr/orchestrator.rst

index d214ed635f53b93bee688d13ed204aeae9d763ed..6ee8786f872d346d4617400c901c96c201c80e1b 100644 (file)
@@ -101,6 +101,43 @@ Example::
     node2   /dev/vdc  hdd   8192M  228094  False  LVM detected, Insufficient space (<5GB) on vgs, locked
 
 
+
+
+Erase Devices (Zap Devices)
+---------------------------
+
+Erase (zap) a device so it can be re-used.
+
+::
+
+     orch device zap
+
+Example command::
+
+     ceph orch device zap my_hostname my_path true
+
+Parameters::
+
+    hostname: (string)
+
+    path: (string)
+
+    force: CephBool
+
+Ceph Module::
+
+    mgr
+
+Required Permissions::
+
+    rw
+
+Command Flags::
+
+    mgr
+
+
+
 Create OSDs
 -----------