pveceph: add pg_num for easier search

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2018-11-29 12:43:33 +01:00
parent 5a54ef446d
commit 90682f3598

View File

@ -282,14 +282,14 @@ Creating Ceph Pools
[thumbnail="screenshot/gui-ceph-pools.png"] [thumbnail="screenshot/gui-ceph-pools.png"]
A pool is a logical group for storing objects. It holds **P**lacement A pool is a logical group for storing objects. It holds **P**lacement
**G**roups (PG), a collection of objects. **G**roups (`PG`, `pg_num`), a collection of objects.
When no options are given, we set a When no options are given, we set a default of **128 PGs**, a **size of 3
default of **128 PGs**, a **size of 3 replicas** and a **min_size of 2 replicas** replicas** and a **min_size of 2 replicas** for serving objects in a degraded
for serving objects in a degraded state. state.
NOTE: The default number of PGs works for 2-5 disks. Ceph throws a NOTE: The default number of PGs works for 2-5 disks. Ceph throws a
"HEALTH_WARNING" if you have too few or too many PGs in your cluster. 'HEALTH_WARNING' if you have too few or too many PGs in your cluster.
It is advised to calculate the PG number depending on your setup, you can find It is advised to calculate the PG number depending on your setup, you can find
the formula and the PG calculator footnote:[PG calculator the formula and the PG calculator footnote:[PG calculator