Bug 763547 (GLUSTER-1815)

Summary: gluster volume info - Number of Bricks field
Product: [Community] GlusterFS Reporter: Lakshmipathi G <lakshmipathi>
Component: glusterdAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.1-alphaCC: amarts, gluster-bugs, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTP Mount Type: All
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Lakshmipathi G 2010-10-05 07:35:54 EDT
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
Comment 1 Vijay Bellur 2010-10-05 07:50:32 EDT
PATCH: http://patches.gluster.com/patch/5291 in master (cli: fix Number of bricks output)