cluster.background-self-heal-count can accept negative numbers even though min has been specified as 0. For eg: #gluster volume set test cluster.background-self-heal-count -9000 Set volume successful #gluster volume info test Volume Name: test Type: Replicate Volume ID: 1db29f5f-08c6-48d2-b3d4-7bd93c14d810 Status: Started Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: arch:/export/1 Brick2: arch:/export/2 Options Reconfigured: cluster.background-self-heal-count: -9000
Patch 81e7464a54165b5d8b40847355d3bb6fe7b6e9df (libglusterfs : Fix validation for integer volume options) in master (review @ http://review.gluster.com/3084) fixes this.