From: Sage Weil Date: Fri, 6 Dec 2013 18:35:45 +0000 (-0800) Subject: osd: default to 3x replication X-Git-Tag: v0.74~19^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6704be68d4230a905bd8fee49520430f360c033c;p=ceph.git osd: default to 3x replication 3x is the recommendation; it should be the default too. Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 19bccb2e28e..ba0bd84b3cf 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -389,7 +389,7 @@ OPTION(osd_crush_chooseleaf_type, OPT_INT, 1) // 1 = host OPTION(osd_min_rep, OPT_INT, 1) OPTION(osd_max_rep, OPT_INT, 10) OPTION(osd_pool_default_crush_rule, OPT_INT, 0) -OPTION(osd_pool_default_size, OPT_INT, 2) +OPTION(osd_pool_default_size, OPT_INT, 3) OPTION(osd_pool_default_min_size, OPT_INT, 0) // 0 means no specific default; ceph will use size-size/2 OPTION(osd_pool_default_pg_num, OPT_INT, 8) // number of PGs for new pools. Configure in global or mon section of ceph.conf OPTION(osd_pool_default_pgp_num, OPT_INT, 8) // number of PGs for placement purposes. Should be equal to pg_num