From patchwork Wed Sep 12 11:13:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jimmy Tang X-Patchwork-Id: 1442671 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 5756BDF28C for ; Wed, 12 Sep 2012 11:13:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750786Ab2ILLNJ (ORCPT ); Wed, 12 Sep 2012 07:13:09 -0400 Received: from tabaet.tchpc.tcd.ie ([134.226.112.12]:53899 "EHLO tabaet.tchpc.tcd.ie" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779Ab2ILLNI convert rfc822-to-8bit (ORCPT ); Wed, 12 Sep 2012 07:13:08 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by tabaet.tchpc.tcd.ie (Postfix) with ESMTP id 3DE8A83BFE; Wed, 12 Sep 2012 12:13:07 +0100 (IST) X-Virus-Scanned: amavisd-new at tchpc.tcd.ie Received: from tabaet.tchpc.tcd.ie ([127.0.0.1]) by localhost (tabaet.tchpc.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7S94nlnqLB-q; Wed, 12 Sep 2012 12:13:04 +0100 (IST) Received: from x00.tchpc.tcd.ie (x00.tchpc.tcd.ie [134.226.112.149]) by tabaet.tchpc.tcd.ie (Postfix) with ESMTP id BA121836EB; Wed, 12 Sep 2012 12:13:04 +0100 (IST) Subject: Re: issues with adjusting the crushmap in 0.51 Mime-Version: 1.0 (Apple Message framework v1278) From: Jimmy Tang In-Reply-To: (sfid-H20120906-213138-+033.83-1@marduk.tchpc.tcd.ie) Date: Wed, 12 Sep 2012 12:13:04 +0100 Cc: Gregory Farnum , ceph-devel@vger.kernel.org Message-Id: <0CCF2B3E-B9BB-4121-92F1-D179D1A0C85E@tchpc.tcd.ie> References: <20120906175821.GA32205@tchpc.tcd.ie> <20120906185104.GA6518@tchpc.tcd.ie> (sfid-H20120906-213138-+033.83-1@marduk.tchpc.tcd.ie) To: Tommi Virtanen X-Mailer: Apple Mail (2.1278) Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org Hi Tommi. On 6 Sep 2012, at 21:31, Tommi Virtanen wrote: > On Thu, Sep 6, 2012 at 11:51 AM, Jimmy Tang 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 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 \n"; cout << " ceph mds tell injectargs '-- [-- ...]'\n"; cout << "\n"; cout << "MONITOR (MON) COMMANDS\n"; @@ -82,6 +83,7 @@ static void usage() cout << " ceph osd unpause\n"; cout << " ceph osd tell injectargs '-- [-- ...]'\n"; cout << " ceph osd getcrushmap -o \n"; + cout << " ceph osd setcrushmap -i \n"; cout << " ceph osd getmap -o \n"; cout << " ceph osd crush set [ ...]\n"; cout << " ceph osd crush move [ ...]\n";