public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Rainer Krienke <krienke@uni-koblenz.de>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
Subject: [PVE-User] proxmox hyperconverged pg calculations in pve 7.2, ceph pacific
Date: Thu, 1 Dec 2022 08:37:36 +0100	[thread overview]
Message-ID: <adc4cfd1-1870-a45e-3806-6695dbbd228e@uni-koblenz.de> (raw)

Hello,

I run a a hyperconverged pve cluster (V7.2) with 11 nodes. Each node has 
8 4TB disks. pve and ceph are installed an running.

Next I wanted to create some ceph-pools with each 512 pgs. Since I want 
to use erasure coding (5+3) when creating a pool one rbd pool for 
metadata and the data pool are created. I used pveceph pool this command:

pveceph pool create px-e --erasure-coding k=5,m=3 --pg_autoscale_mode 
off --pg_num 512 --pg_num_min 128

I was able to create two pools in this way but the third pveceph call 
threw this error:

"got unexpected control message: TASK ERROR: error with 'osd pool 
create': mon_command failed -  pg_num 512 size 8 would mean 22148 total 
pgs, which exceeds max 22000 (mon_max_pg_per_osd 250 * num_in_osds 88)"

What I do not understand now are the calculations behind the scenes for 
the calculated total pg number of 22148. But how is this total number 
"22148"  calculated?

I already reduced the number of pgs for the metadata pool of each 
ec-pool and so I was able to create 4 pools in this way. But just for 
fun I now tried to create ec-pool number 5 and I see the message from 
above.

Here are the pools created by now (scraped from ceph osd pool 
autoscale-status):
Pool:                Size:   Bias:  PG_NUM:
rbd                  4599    1.0      32
px-a-data          528.2G    1.0     512
px-a-metadata      838.1k    1.0     128
px-b-data              0     1.0     512
px-b-metadata         19     1.0     128
px-c-data              0     1.0     512
px-c-metadata         19     1.0     128
px-d-data              0     1.0     512
px-d-metadata          0     1.0     128

So the total number of pgs for all pools is currently 2592 which is far 
from 22148 pgs?

Any ideas?
Thanks Rainer
-- 
Rainer Krienke, Uni Koblenz, Rechenzentrum, A22, Universitaetsstrasse  1
56070 Koblenz, Web: http://www.uni-koblenz.de/~krienke, Tel: +49261287 1312
PGP: http://www.uni-koblenz.de/~krienke/mypgp.html,     Fax: +49261287 
1001312



                 reply	other threads:[~2022-12-01  7:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=adc4cfd1-1870-a45e-3806-6695dbbd228e@uni-koblenz.de \
    --to=krienke@uni-koblenz.de \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal