From ef3efe511b98516ad596ef2e57b146731f678169 Mon Sep 17 00:00:00 2001 From: Alwin Antreich Date: Tue, 27 Oct 2020 18:12:23 +0100 Subject: [PATCH] ceph: add warning for min_size 1 Signed-off-by: Alwin Antreich --- 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