From a8df31cb1459ae3f5c0eaf41c4929c0c35661c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Tue, 5 Apr 2016 17:01:49 +0200 Subject: [PATCH] ceph-common: let ceph handle pool_default_min_size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We now set the value to 0, which means no specific default; ceph will use size-size/2 Signed-off-by: Sébastien Han --- group_vars/all.sample | 2 +- roles/ceph-common/defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/group_vars/all.sample b/group_vars/all.sample index 5ef576781..785a8986b 100644 --- a/group_vars/all.sample +++ b/group_vars/all.sample @@ -216,7 +216,7 @@ dummy: #pool_default_pg_num: 128 #pool_default_pgp_num: 128 #pool_default_size: 3 -#pool_default_min_size: 1 +#pool_default_min_size: 0 # 0 means no specific default; ceph will use (pool_default_size)-(pool_default_size/2) so 2 if pool_default_size=3 #public_network: 0.0.0.0/0 #cluster_network: "{{ public_network }}" #osd_mkfs_type: xfs diff --git a/roles/ceph-common/defaults/main.yml b/roles/ceph-common/defaults/main.yml index fef28e0d0..8ae560b49 100644 --- a/roles/ceph-common/defaults/main.yml +++ b/roles/ceph-common/defaults/main.yml @@ -208,7 +208,7 @@ journal_size: 0 pool_default_pg_num: 128 pool_default_pgp_num: 128 pool_default_size: 3 -pool_default_min_size: 1 +pool_default_min_size: 0 # 0 means no specific default; ceph will use (pool_default_size)-(pool_default_size/2) so 2 if pool_default_size=3 public_network: 0.0.0.0/0 cluster_network: "{{ public_network }}" osd_mkfs_type: xfs