[Gluster-users] Removing a brick

Atin Mukherjee amukherj at redhat.com
Tue Feb 24 04:17:37 UTC 2015



On 02/24/2015 06:41 AM, Sam Giraffe wrote:
> Hi,
> 
> On my 20 nodes with 2 replica cluster I was able to run:
> 
> # gluster volume remove-brick art server1:/brick1 server2:/brick2 start
> 
> I got a message stating:
> 
> volume remove-brick start: success
> ID: 16b887bb-e848-4054-a5af-9390055d32c9
> 
> However, when I run 'status' I get nothing in the output:
> 
> $ gluster volume remove-brick art  server1:/brick1 status
> Node Rebalanced-files          size       scanned      failures
> skipped               status   run time in secs
>                                ---------      -----------
> -----------   -----------   -----------   -----------
> ------------     --------------
In remove-brick start you have couple of bricks to be removed however
the status command has only one, Could you try remove brick status with
correct brick details i.e. appending brick2 in the status query.
> 
> And when I try a commit I get an error saying that the removal is in progress:
> 
> # gluster volume remove-brick art  server1:/brick1 server2:/brick2  commit
> Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y
> volume remove-brick commit: failed: Staging failed on server1. Error:
> use 'force' option as migration is in progress
> Staging failed on server2. Error: use 'force' option as migration is in progress
> 
This is expected as remove-brick transaction hasn't finished.
> Any clue on how to get status of brick removal?
> 
> Thank you
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
> 

-- 
~Atin


More information about the Gluster-users mailing list