[pve-devel] [PATCH docs] ceph: add warning for min_size 1
Alwin Antreich
a.antreich at proxmox.com
Tue Oct 27 18:12:23 CET 2020
Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
pveceph.adoc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pveceph.adoc b/pveceph.adoc
index 84a45d5..39da354 100644
--- a/pveceph.adoc
+++ b/pveceph.adoc
@@ -462,6 +462,10 @@ state.
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
+allows I/O on an object when it has only 1 replica which could lead to data
+loss, incomplete PGs or unfound objects.
+
It is advised to calculate the PG number depending on your setup, you can find
the formula and the PG calculator footnote:[PG calculator
https://ceph.com/pgcalc/] online. From Ceph Nautilus onwards it is possible to
--
2.27.0
More information about the pve-devel
mailing list