CEPH filesystem development
 help / color / mirror / Atom feed
From: Andrew Thompson <andrewkt@aktzero.com>
To: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: Very unbalanced storage
Date: Sat, 01 Sep 2012 02:58:12 -0400	[thread overview]
Message-ID: <5041B204.7000008@aktzero.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1208312000160.27708@cobra.newdream.net>

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 <name> <pg_num>
>
> 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 <oldname> <newname>
> 	ceph osd pool delete <name>
>
> 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 <poolname>` still required? (It's not listed 
in `ceph --help`.)

Thanks.

-- 
Andrew Thompson
http://aktzero.com/


  parent reply	other threads:[~2012-09-01  6:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-31 11:11 Very unbalanced storage Xiaopong Tran
2012-08-31 15:00 ` Andrew Thompson
2012-08-31 16:10   ` Sage Weil
2012-08-31 16:24     ` Andrew Thompson
2012-08-31 16:39       ` Gregory Farnum
2012-09-01  2:33         ` Xiaopong Tran
2012-09-01  3:07           ` Sage Weil
2012-08-31 16:43       ` Sage Weil
2012-08-31 16:05 ` Sage Weil
2012-09-01  2:52   ` Xiaopong Tran
2012-09-01  3:05     ` Sage Weil
2012-09-01  3:15       ` Xiaopong Tran
2012-09-01  6:58       ` Andrew Thompson [this message]
2012-09-04 15:59         ` Tommi Virtanen
2012-09-04 16:19           ` Andrew Thompson
2012-09-04 16:43             ` Sage Weil
2012-09-04 16:48             ` Tommi Virtanen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5041B204.7000008@aktzero.com \
    --to=andrewkt@aktzero.com \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox