diff options
author | Sage Weil <sage@inktank.com> | 2013-03-20 08:00:12 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-03-22 15:15:37 -0700 |
commit | 6cba563f5f5079ea81ec4e936a818dc4ed887509 (patch) | |
tree | 42829ae0ae31478de4f147bbc11af00da035d60e /src/tools | |
parent | fe4e86c6acd8424da625a0eb1b9171db44234201 (diff) | |
download | ceph-6cba563f5f5079ea81ec4e936a818dc4ed887509.tar.gz |
mon: 'ceph osd crush link ...' to add a link to an existing bucket
Allow a second reference to an existing bucket to be added. This lets
you create a DAG instead of a tree using the CLI.
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/ceph.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/ceph.cc b/src/tools/ceph.cc index f93d445d612..1dcec254632 100644 --- a/src/tools/ceph.cc +++ b/src/tools/ceph.cc @@ -89,8 +89,9 @@ static void usage() cout << " ceph osd getmap -o <file>\n"; cout << " ceph osd crush set <osd-id> <weight> <loc1> [<loc2> ...]\n"; cout << " ceph osd crush add <osd-id> <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 move <bucketname> <loc1> [<loc2> ...]\n"; + cout << " ceph osd crush link <bucketname> <loc1> [<loc2> ...]\n"; cout << " ceph osd crush reweight <name> <weight>\n"; cout << " ceph osd crush tunables <legacy|argonaut|bobtail|optimal|default>\n"; cout << " ceph osd create [<uuid>]\n"; |