Re: Fwd: Too many PGs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This worked like a champ, thank you kindly!

On Jun 15, 2015, at 2:16 PM, Somnath Roy <Somnath.Roy@xxxxxxxxxxx> wrote:

If you want to suppress the warning, do this in the conf file..
 
mon_pg_warn_max_per_osd = 0
 
      or
 
mon_pg_warn_max_per_osd = <something big>
 
 
Thanks & Regards
Somnath
 
From: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of Marek Dohojda
Sent: Monday, June 15, 2015 1:05 PM
To: ceph-users@xxxxxxxxxxxxxx
Subject:  Fwd: Too many PGs
 
I hate to bug, but I truly hope someone has an answer to below.
 
Thank you kindly!
 
---------- Forwarded message ----------
From: Marek Dohojda <mdohojda@xxxxxxxxxxxxxxxxxxx>
Date: Wed, Jun 10, 2015 at 7:49 AM
Subject: Too many PGs
To: ceph-users-request@xxxxxxxxxxxxxx


Hello

I am running “Hammer” Ceph and I am getting following:
health HEALTH_WARN
            too many PGs per OSD (438 > max 300)

Now I realize that this is because I have too few OSD for the amount of pools I have.   Currently I have 14 OSD, split into 7 each for SSD and LVM.  I created another one for CephFS which started this error.

I think that the reason I have this error is because I created the last CephFS pool with 512 PGs, which in retrospect was a mistake.  I am utilizing this one strictly as a means to easy backup my libvirt XML files, and hence do not need much in terms of redundancy.  Even if this was to fail, I am not really worried about it.

I will be adding more OSD soonish, so this error will go away in the long term.

For now

Is there any way to either suppress this error, or adjust down the PGs on the CephFS Pool that I created? I tried to do:
ceph odd pool set pg_num 64

However that didn’t actually do it, perhaps it needs a restart?

I wouldn’t be opposed to deleting this pool and recreating, but when I try that it gives me an error that there must be at least one pool in MDS.


Thank you!
 



PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux