ceph: pools: reword, drop PG scale hint, autoscaler makes it obsolete

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-04-21 14:11:58 +02:00
parent e79e0b9dbb
commit d56606c72a

View File

@ -455,14 +455,14 @@ A pool is a logical group for storing objects. It holds **P**lacement
Create and Edit Pools Create and Edit Pools
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
You can create pools through command line or on the web-interface on each {pve}
host under **Ceph -> Pools**.
[thumbnail="screenshot/gui-ceph-pools.png"] [thumbnail="screenshot/gui-ceph-pools.png"]
When no options are given, we set a default of **128 PGs**, a **size of 3 When no options are given, we set a default of **128 PGs**, a **size of 3
replicas** and a **min_size of 2 replicas** for serving objects in a degraded replicas** and a **min_size of 2 replicas**, to ensure no data loss occurs if
state. any OSD fails.
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.
WARNING: **Do not set a min_size of 1**. A replicated pool with min_size of 1 WARNING: **Do not set a min_size of 1**. A replicated pool with min_size of 1
allows I/O on an object when it has only 1 replica which could lead to data allows I/O on an object when it has only 1 replica which could lead to data
@ -479,17 +479,15 @@ footnoteref:[autoscaler,Automated Scaling
{cephdocs-url}/rados/operations/placement-groups/#automated-scaling] can {cephdocs-url}/rados/operations/placement-groups/#automated-scaling] can
automatically scale the PG count for a pool in the background. automatically scale the PG count for a pool in the background.
You can create pools through command line or on the GUI on each PVE host under .Example for creating a pool over the CLI
**Ceph -> Pools**.
[source,bash] [source,bash]
---- ----
pveceph pool create <name> pveceph pool create <name> --add_storages
---- ----
If you would like to automatically also get a storage definition for your pool, TIP: If you would like to automatically also get a storage definition for your
mark the checkbox "Add storages" in the GUI or use the command line option pool, keep the `Add storages' checkbox ticked in the web-interface, or use the
'--add_storages' at pool creation. command line option '--add_storages' at pool creation.
.Base Options .Base Options
Name:: The name of the pool. This must be unique and can't be changed afterwards. Name:: The name of the pool. This must be unique and can't be changed afterwards.