Skip to contentSkip to conversation

fix ceph osd create help

PATCH New Danny Kukawka 1 participant 1 message Aug 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix ceph osd create help

Change ceph osd create <osd-id> to ceph osd create <uuid>, since this is what the command is really doing.

---
 doc/control.rst          |    4 ++--
 src/test/cli/ceph/help.t |    2 +-
 src/tools/ceph.cc        |    2 +-

3 Dateien geändert, 4 Zeilen hinzugefügt(+), 4 Zeilen entfernt(-)

doc/control.rst +2 -2
index 677ab78..19c976e 100644
@@ -142,9 +142,9 @@ Create a cluster snapshot. ::
 
 Mark an OSD as lost. This may result in permanent data loss. Use with caution. ::
 
-	$ ceph osd create [<id>]
+	$ ceph osd create [<uuid>]
 
-Create a new OSD. If no ID is given, a new ID is automatically selected
+Create a new OSD. If no UUID is given, a new UUID is automatically selected
 if possible. ::
 
 	$ ceph osd rm [<id>...]
src/test/cli/ceph/help.t +1 -1
index 16667a5..47e5b38 100644
@@ -43,7 +43,7 @@
     ceph osd crush set <osd-id> <name> <weight> [<loc1> [<loc2> ...]]
     ceph osd crush move <bucketname> <loc1> [<loc2> ...]
     ceph osd crush reweight <name> <weight>
-    ceph osd create [<osd-id>]
+    ceph osd create [<uuid>]
     ceph osd rm <osd-id> [<osd-id>...]
     ceph osd lost [--yes-i-really-mean-it]
     ceph osd reweight <osd-id> <weight>
src/tools/ceph.cc +1 -1
index caa338c..b82be10 100644
@@ -86,7 +86,7 @@ static void usage()
   cout << "  ceph osd crush set <osd-id> <name> <weight> [<loc1> [<loc2> ...]]\n";
   cout << "  ceph osd crush move <bucketname> <loc1> [<loc2> ...]\n";
   cout << "  ceph osd crush reweight <name> <weight>\n";
-  cout << "  ceph osd create [<osd-id>]\n";
+  cout << "  ceph osd create [<uuid>]\n";
   cout << "  ceph osd rm <osd-id> [<osd-id>...]\n";
   cout << "  ceph osd lost [--yes-i-really-mean-it]\n";
   cout << "  ceph osd reweight <osd-id> <weight>\n";
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html