Hi Tommi. On 6 Sep 2012, at 21:31, Tommi Virtanen wrote: > On Thu, Sep 6, 2012 at 11:51 AM, Jimmy Tang <jtang@xxxxxxxxxxxx> wrote: >> Also, the "ceph osd setcrushmap..." command doesn't up when a ceph >> --help is run in the 0.51 release, however it is documented on the >> wiki as far as I recall. It'd be real nice if the applications emitted >> all the available commands, it would make experimenting much nicer and >> fun. > > "ceph" is just a client app that sends (most of) the commands to > ceph-mon for execution; it's --help is problematic to keep up to > date.. We're trying to do better. Patches appreciated, see ticket at > the end.. Just to scratch an itch, here's some documentation additions from testing locally, [jtang@x00 ceph (master)]$ git diff diff --git a/doc/cluster-ops/control.rst b/doc/cluster-ops/control.rst index 9af4562..9946229 100644 --- a/doc/cluster-ops/control.rst +++ b/doc/cluster-ops/control.rst @@ -293,6 +293,10 @@ Enables debug messages. :: Displays the status of all metadata servers. +Make a pool usable by the fs with:: + + ceph mds add_data_pool {pool-name} + .. todo:: ``ceph mds`` subcommands missing docs: set_max_mds, dump, getmap, stop, setmap diff --git a/src/tools/ceph.cc b/src/tools/ceph.cc index 0435771..306d67a 100644 --- a/src/tools/ceph.cc +++ b/src/tools/ceph.cc @@ -62,6 +62,7 @@ static void usage() cout << "\n"; cout << "METADATA SERVER (MDS) COMMANDS\n"; cout << " ceph mds stat\n"; + cout << " ceph mds add_data_pool <pool>\n"; cout << " ceph mds tell <mds-id or *> injectargs '--<switch> <value> [--<switch> <value>...]'\n"; cout << "\n"; cout << "MONITOR (MON) COMMANDS\n"; @@ -82,6 +83,7 @@ static void usage() cout << " ceph osd unpause\n"; cout << " ceph osd tell <osd-id or *> injectargs '--<switch> <value> [--<switch> <value>...]'\n"; cout << " ceph osd getcrushmap -o <file>\n"; + cout << " ceph osd setcrushmap -i <file>\n"; cout << " ceph osd getmap -o <file>\n"; cout << " ceph osd crush set <osd-id> <weight> <loc1> [<loc2> ...]\n"; cout << " ceph osd crush move <bucketname> <loc1> [<loc2> ...]\n"; Regards, Jimmy Tang -- Senior Software Engineer, Digital Repository of Ireland (DRI) Trinity Centre for High Performance Computing, Lloyd Building, Trinity College Dublin, Dublin 2, Ireland. http://www.tchpc.tcd.ie/ -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html