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

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Apr 3 12:07:37 CEST 2017


also changed the max values in the backend API, otherwise this does not
make sense ;)

what about "pveceph init"? if no size is given, this still defaults to
2/1...

On Wed, Mar 22, 2017 at 11:08:01AM +0100, Thomas Lamprecht wrote:
> 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
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel




More information about the pve-devel mailing list