]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph tool: add 'osd crush create-or-move ...' to help
authorSage Weil <sage@inktank.com>
Tue, 11 Sep 2012 18:35:45 +0000 (11:35 -0700)
committerSage Weil <sage@inktank.com>
Tue, 11 Sep 2012 18:35:45 +0000 (11:35 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/test/cli/ceph/help.t
src/tools/ceph.cc

index bbd7ff76d9a1d33c7dfec1a53999b2a211fc72bf..f0943303d3b6d250618cb595d7204d06850714aa 100644 (file)
@@ -42,6 +42,7 @@
     ceph osd getmap -o <file>
     ceph osd crush set <osd-id> <name> <weight> [<loc1> [<loc2> ...]]
     ceph osd crush move <bucketname> <loc1> [<loc2> ...]
+    ceph osd crush create-or-move <osd-id> <initial-weight> [<loc1> [<loc2> ...]]
     ceph osd crush reweight <name> <weight>
     ceph osd create [<uuid>]
     ceph osd rm <osd-id> [<osd-id>...]
index 278033c46cbeec8a39230dd7e4fc01cd130d32e3..99af264ece02975a252177dc1c7969c8eb7cd996 100644 (file)
@@ -85,6 +85,7 @@ static void usage()
   cout << "  ceph osd getmap -o <file>\n";
   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 create-or-move <osd-id> <initial-weight> [<loc1> [<loc2> ...]]\n";
   cout << "  ceph osd crush reweight <name> <weight>\n";
   cout << "  ceph osd create [<uuid>]\n";
   cout << "  ceph osd rm <osd-id> [<osd-id>...]\n";