Documentation | |
---|---|
Name: | [TROUBLESHOOT] Error ERANGE: pool id X pg_num Y size Z would mean W total pgs, which exceeds |
Description: | how to solve this “issue” |
Modification date : | 13/06/2019 |
Owner: | dodger |
Notify changes to: | Owner |
Tags: | ceph, object storage |
Scalate to: | The_fucking_bofh |
You get:
Error ERANGE: pool id 4 pg_num 500 size 3 would mean 6000 total pgs, which exceeds max 5000 (mon_max_pg_per_osd 250 * num_in_osds 20)
While modifying PGs-per-pool:
ceph osd pool set ${POOL_NAME} pg_num 500
There is no problem here.
You're just exceeding a configured “maximum” of the storage.
Complete information here: