for 4 afr ,gluster volume info "Number of Bricks" after removing 3rd and 4th bricks,shows "0 x 4 =3" "0 x 4 =2" ================== 131#gluster volume info Volume Name: afr40 Type: Replicate Status: Started Number of Bricks: 1 x 4 = 4 Transport-type: tcp Bricks: Brick1: 172.24.21.131:/data/oct4 Brick2: 172.24.21.132:/data/oct4 Brick3: 172.24.21.133:/data/oct4 Brick4: 172.24.21.134:/data/oct4 131#gluster volume remove-brick afr40 172.24.21.133:/data/oct4 Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y Remove Brick successful 131#gluster volume info Volume Name: afr40 Type: Replicate Status: Started Number of Bricks: 0 x 4 = 3 Transport-type: tcp Bricks: Brick1: 172.24.21.131:/data/oct4 Brick2: 172.24.21.132:/data/oct4 Brick3: 172.24.21.134:/data/oct4 131#gluster volume remove-brick afr40 172.24.21.134:/data/oct4 Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y Remove Brick successful 131#gluster volume info Volume Name: afr40 Type: Replicate Status: Started Number of Bricks: 0 x 4 = 2 Transport-type: tcp Bricks: Brick1: 172.24.21.131:/data/oct4 Brick2: 172.24.21.132:/data/oct4
PATCH: http://patches.gluster.com/patch/5291 in master (cli: fix Number of bricks output)