User Tools

Site Tools


linux: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
Notify changes to:Owner
Tags:ceph, object storage
Scalate to:The_fucking_bofh

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:

linux/ceph/troubleshooting/erange_total_pg_exceeded.txt · Last modified: 2022/02/11 11:36 by 127.0.0.1