User Tools

Site Tools


ceph:troubleshooting:erange_total_pg_exceeded

[TROUBLESHOOT] Error ERANGE: pool id X pg_num Y size Z would mean W total pgs, which exceeds

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@ciberterminal.net
Notify changes to:Owner
Tags:ceph, object storage

The error

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

The solution

There is no problem here.
You're just exceeding a configured “maximum” of the storage.
Complete information here:

ceph/troubleshooting/erange_total_pg_exceeded.txt · Last modified: 2019/07/18 09:17 (external edit)