From patchwork Wed Dec 1 16:38:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laszlo Boszormenyi X-Patchwork-Id: 371691 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB1GdEfa007051 for ; Wed, 1 Dec 2010 16:39:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755085Ab0LAQjO (ORCPT ); Wed, 1 Dec 2010 11:39:14 -0500 Received: from mail.routers.hu ([212.40.96.82]:47791 "EHLO mail.routers.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752880Ab0LAQjO (ORCPT ); Wed, 1 Dec 2010 11:39:14 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.routers.hu (Postfix) with ESMTP id 4A615E1499; Wed, 1 Dec 2010 17:50:29 +0100 (CET) Received: from mail.routers.hu ([127.0.0.1]) by localhost (sum.routers.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3YgKLw8cgnXL; Wed, 1 Dec 2010 17:50:29 +0100 (CET) Received: from [192.168.0.100] (kabelnet-248-67.parisat.hu [91.147.248.67]) by mail.routers.hu (Postfix) with ESMTPA id F1567E13CA; Wed, 1 Dec 2010 17:50:23 +0100 (CET) Subject: Re: Status of ceph ITP? From: Laszlo Boszormenyi To: Sage Weil Cc: Clint Byrum , asheesh@asheesh.org, 506040@bugs.debian.org, noel@debian.org, ceph-devel@vger.kernel.org In-Reply-To: References: <1290365977.9821.3.camel@clint-MacBookPro> <1290436452.9821.5.camel@clint-MacBookPro> <1291075213.14018.101.camel@julia.gcs.org.hu> Organization: Debian Date: Wed, 01 Dec 2010 17:38:38 +0100 Message-ID: <1291221518.14018.564.camel@julia.gcs.org.hu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 01 Dec 2010 16:39:15 +0000 (UTC) --- ./man/monmaptool.8.orig 2010-12-01 17:27:15.136967000 +0100 +++ ./man/monmaptool.8 2010-12-01 17:33:58.352967001 +0100 @@ -34,15 +34,15 @@ \fB\-\-create\fP will create a new monitor map with a new UUID (and with it, a new, empty Ceph file system). .TP -\fB\-\-add\fI ip:port\fP +\fB\-\-add\fI name ip:port\fP will add a monitor with the specified \fIip:port\fP to the map. .TP -\fB\-\-rm\fI ip:port\fP +\fB\-\-rm\fI name\fP will remove the monitor with the specified \fIip:port\fP from the map. .SH EXAMPLE To create a new map with three monitors (for a fresh Ceph file system): .IP -monmaptool --create --add 192.168.0.10:6789 --add 192.168.0.11:6789 --add 192.168.0.12:6789 --clobber monmap +monmaptool --create --add mon0 192.168.0.10:6789 --add mon1 192.168.0.11:6789 --add mon2 192.168.0.12:6789 --clobber monmap .PP To display the contents of the map: .IP @@ -50,7 +50,7 @@ .PP To replace one monitor: .IP -monmaptool --rm 192.168.0.10:6789 --add 192.168.0.9:6789 --clobber monmap +monmaptool --rm mon0 --add mon0 192.168.0.9:6789 --clobber monmap .SH AVAILABILITY .B monmaptool is part of the Ceph distributed file system. Please refer to the Ceph wiki at