[pve-devel] [PATCH manager 2/2] ceph/pool: allow bigger size and min_size values

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


Some setups may want to use more replicas as three, while my proposed
maximal 7 replicas is also arbitrary it should cover all normal
usecases (i.e. 5 replicas) and a bit more, just to be sure.
---
 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 c69669c..df43be4 100644
--- a/www/manager6/ceph/Pool.js
+++ b/www/manager6/ceph/Pool.js
@@ -18,7 +18,7 @@ Ext.define('PVE.CephCreatePool', {
 	    name: 'size',
 	    value: 3,
 	    minValue: 1,
-	    maxValue: 3,
+	    maxValue: 7,
 	    allowBlank: false
 	},
 	{
@@ -27,7 +27,7 @@ Ext.define('PVE.CephCreatePool', {
 	    name: 'min_size',
 	    value: 2,
 	    minValue: 1,
-	    maxValue: 3,
+	    maxValue: 7,
 	    allowBlank: false
 	},
 	{
-- 
2.1.4





More information about the pve-devel mailing list