[pve-devel] [PATCH manager 1/2] ceph/pool: change default replica to 3/2

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Mar 22 11:08:01 CET 2017


size/min_size 2/1 is unsafe as it can result in split brains, so we
should not recommend it as default.

If the user really wants it he can still set it explicit.
---
 www/manager6/ceph/Pool.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/ceph/Pool.js b/www/manager6/ceph/Pool.js
index 914c27a..c69669c 100644
--- a/www/manager6/ceph/Pool.js
+++ b/www/manager6/ceph/Pool.js
@@ -16,7 +16,7 @@ Ext.define('PVE.CephCreatePool', {
 	    xtype: 'pveIntegerField',
 	    fieldLabel: gettext('Size'),
 	    name: 'size',
-	    value: 2,
+	    value: 3,
 	    minValue: 1,
 	    maxValue: 3,
 	    allowBlank: false
@@ -25,7 +25,7 @@ Ext.define('PVE.CephCreatePool', {
 	    xtype: 'pveIntegerField',
 	    fieldLabel: gettext('Min. Size'),
 	    name: 'min_size',
-	    value: 1,
+	    value: 2,
 	    minValue: 1,
 	    maxValue: 3,
 	    allowBlank: false
-- 
2.1.4





More information about the pve-devel mailing list