From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Thompson Subject: Re: Very unbalanced storage Date: Sat, 01 Sep 2012 02:58:12 -0400 Message-ID: <5041B204.7000008@aktzero.com> References: <50409BDC.5010006@gmail.com> <5041785E.3040707@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mx1a.cologlobal.com ([96.125.182.177]:44514 "EHLO mx1.cologlobal.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751350Ab2IAG7k (ORCPT ); Sat, 1 Sep 2012 02:59:40 -0400 Received: from mail3.hspheredns.com ([208.77.157.24]) by mx1.cologlobal.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1T7hg5-0008AL-DE for ceph-devel@vger.kernel.org; Sat, 01 Sep 2012 02:59:39 -0400 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: "ceph-devel@vger.kernel.org" On 8/31/2012 11:05 PM, Sage Weil wrote: > Sadly you can't yet adjust pg_num for an active pool. You can create a > new pool, > > ceph osd pool create > > I would aim for 20 * num_osd, or thereabouts.. see > > http://ceph.com/docs/master/ops/manage/grow/placement-groups/ > > Then you can copy the data from the old pool to the new one with > > rados cppool yunio2 yunio3 > > This won't be particularly fast, but it will work. You can also do > > ceph osd pool rename > ceph osd pool delete > > I hope this solves your problem! Looking at old archives, I found this thread which shows that to mount a pool as cephfs, it needs to be added to mds: http://permalink.gmane.org/gmane.comp.file-systems.ceph.devel/5685 I started a `rados cppool data tempstore` a couple hours ago. When it finishes, will I need to remove the current pool from mds somehow(other than just deleting the pool)? Is `ceph mds add_data_pool ` still required? (It's not listed in `ceph --help`.) Thanks. -- Andrew Thompson http://aktzero.com/