Hi,
# ceph health detail
HEALTH_WARN too few PGs per OSD (24 < min 30)
TOO_FEW_PGS too few PGs per OSD (24 < min 30)
ceph version 14.2.9
This warning popped up when autoscale shrunk a pool from pg_num and pgp_num from 512 to
256 on its own. The hdd35 storage is only used by this pool.
I have three different storage classes and the pools use the different classes as
appropriate. How can I convert the warning into something useful which then helps me make
the appropriate change to the right class of storage? I'm guessing it's referring
to hdd35.
RAW STORAGE:
CLASS SIZE AVAIL USED RAW USED %RAW USED
hdd25 129 TiB 83 TiB 46 TiB 46 TiB 35.87
hdd35 269 TiB 220 TiB 49 TiB 49 TiB 18.12
ssd 256 TiB 164 TiB 92 TiB 92 TiB 35.84
TOTAL 655 TiB 468 TiB 186 TiB 187 TiB 28.56
If I follow:
https://docs.ceph.com/en/latest/rados/operations/health-checks/#too-few-pgs
Which then links to:
https://docs.ceph.com/en/latest/rados/operations/placement-groups/#choosing…
The math for this would want the pool to have pg/p_num of 2048 -- where autoscale just
recently shrunk the count. Which is more right?
Thanks!
peter
Peter Eisch
Senior Site Reliability Engineer
T1.612.445.5135
virginpulse.com
Australia | Bosnia and Herzegovina | Brazil | Canada | Singapore | Switzerland | United
Kingdom | USA
Confidentiality Notice: The information contained in this e-mail, including any
attachment(s), is intended solely for use by the designated recipient(s). Unauthorized
use, dissemination, distribution, or reproduction of this message by anyone other than the
intended recipient(s), or a person designated as responsible for delivering such messages
to the intended recipient, is strictly prohibited and may be unlawful. This e-mail may
contain proprietary, confidential or privileged information. Any views or opinions
expressed are solely those of the author and do not necessarily represent those of Virgin
Pulse, Inc. If you have received this message in error, or are not the named recipient(s),
please immediately notify the sender and delete this e-mail message.
v2.66