With the pg_autoscaler Manager module enabled the cluster shows a "many more objects per pg than average" warning
This document (000020361) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Enterprise Storage 6
Situation
The cluster health status reports a warning similar to the following example:
pool <$pool_name> objects per pg (209000) is more than 10.7800 times cluster average (19400)
Resolution
Cause
Additional Information
The current pg_autoscaler values for the pools, including the current ratios, can be seen with:
When now adjusting the "target_size_ratio" for this metadata pool, the new PG count that the pool will get if the mode is set to "on" will be shown with the status command under the "NEW PG_NUM" column heading. If the value looks sane (32 PGs for example), the setting can be implemented by setting the autoscale mode back to "on".
For additional information regarding the pg_autoscaler MGR module, see the SES Online documentation and also the upstream Ceph Documentation.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020361
- Creation Date: 10-Aug-2021
- Modified Date:10-Aug-2021
-
- SUSE Enterprise Storage
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com