From: Wido den Hollander <wido@widodh.nl>
To: hemant surale <hemant.surale@gmail.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: Unable to set pg_num property of pool "data"
Date: Wed, 29 Aug 2012 11:51:52 +0200 [thread overview]
Message-ID: <503DE638.9020002@widodh.nl> (raw)
In-Reply-To: <CAGfy=6n9X87iOwJjT3n3WuBRSxmUS6LnL27v0H10=SJ4YG5f0w@mail.gmail.com>
On 08/29/2012 11:42 AM, hemant surale wrote:
> Hi Ceph Community ,
> I am facing problem while I am explicitly trying to set
> "pg_number" of "data" pool.
>
> --------------------------------------------------------------------------------------------------------------------
> root@third-virtual-machine:~# ceph osd pool set data pg_num 100
> 2012-08-29 15:08:52.388446 mon <- [osd,pool,set,data,pg_num,100]
> 2012-08-29 15:08:52.388924 mon0 -> 'specified pg_num 100 <= current 200' (-22)
>
Could you show us the output of the following command?
$ ceph osd dump -o -|grep pg_num
It seems like you are trying to decrease the number of PGs?
>
> root@third-virtual-machine:~# ceph osd pool get data pg_num
> 2012-08-29 15:09:04.788365 mon <- [osd,pool,get,data,pg_num]
> 2012-08-29 15:09:04.788833 mon0 -> 'PG_NUM: 200' (0)
>
> -----------------------------------------------------------------------------------------------------------------
> Why is it not working to set pg_number to 100. The cmd is executed
> while ceph is running.
> (ceph v. 0.36, ubuntu 11.10)
>
I recommend upgrading to Ubuntu 12.04.1 with Ceph 0.48.1
Wido
>
> Regards,
> hemant surale.
> --
> 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
>
next prev parent reply other threads:[~2012-08-29 9:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-29 9:42 Unable to set pg_num property of pool "data" hemant surale
2012-08-29 9:50 ` Sylvain Munaut
2012-08-29 9:51 ` Wido den Hollander [this message]
[not found] ` <CAGfy=6m-hhwvG4CabDdUy=04ejkDHrnkPqyUCrOkEzETUEd8Uw@mail.gmail.com>
2012-08-29 13:42 ` Wido den Hollander
2012-08-29 13:43 ` Tommi Virtanen
2012-08-30 11:02 ` hemant surale
2012-08-30 11:07 ` Sylvain Munaut
2012-08-31 7:00 ` hemant surale
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=503DE638.9020002@widodh.nl \
--to=wido@widodh.nl \
--cc=ceph-devel@vger.kernel.org \
--cc=hemant.surale@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.