If you're not using CephFS, you don't need metadata or data pools. You
can delete them.
If you're not using RBD, you don't need the rbd pool.
If you are using CephFS, and you do delete and recreate the
metadata/data pools, you'll need to tell CephFS. I think the command is
ceph mds add_data_pool <new_data_pool_id>. I'm not using CephFS, so I
can't test that. I'm don't see any commands to set the metadata pool
for CephFS, but it seems strange that you have to tell it about the data
pool, but not the metadata pool.
On 5/23/14 11:22 , McNamara, Bradley wrote:
The other thing to note, too, is that it appears you're trying to decrease the
PG/PGP_num parameters, which is not supported. In order to decrease those
settings, you'll need to delete and recreate the pools. All new pools created
will use the settings defined in the ceph.conf file.
-----Original Message-----
From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of John
Spray
Sent: Friday, May 23, 2014 6:38 AM
To: Cao, Buddy
Cc: ceph-users@lists.ceph.com; ceph-u...@ceph.com
Subject: Re: [ceph-users] osd pool default pg num problem
Those settings are applied when creating new pools with "osd pool create", but
not to the pools that are created automatically during cluster setup.
We've had the same question before
(http://comments.gmane.org/gmane.comp.file-systems.ceph.user/8150), so maybe
it's worth opening a ticket to do something about it.
Cheers,
John
On Fri, May 23, 2014 at 2:01 PM, Cao, Buddy <buddy....@intel.com> wrote:
In Firefly, I added below lines to [global] section in ceph.conf,
however, after creating the cluster, the default pool
“metadata/data/rbd”’s pg num is still over 900 but not 375. Any suggestion?
osd pool default pg num = 375
osd pool default pgp num = 375
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
--
*Craig Lewis*
Senior Systems Engineer
Office +1.714.602.1309
Email cle...@centraldesktop.com <mailto:cle...@centraldesktop.com>
*Central Desktop. Work together in ways you never thought possible.*
Connect with us Website <http://www.centraldesktop.com/> | Twitter
<http://www.twitter.com/centraldesktop> | Facebook
<http://www.facebook.com/CentralDesktop> | LinkedIn
<http://www.linkedin.com/groups?gid=147417> | Blog
<http://cdblog.centraldesktop.com/>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com