[Gluster-users] Removing a brick

Atin Mukherjee amukherj at redhat.com
Tue Feb 24 09:18:29 UTC 2015


Could you attach glusterd logs? Which version of glusterfs-server are
you using?

~Atin

On 02/24/2015 12:59 PM, Sam Giraffe wrote:
> I get the same blank message when I try brick status with both bricks:
> 
> # gluster volume remove-brick art server1:/brick1 server2:/brick2 status
> 
> Node Rebalanced-files          size       scanned      failures
> skipped               status   run time in secs
>  ---------      -----------   -----------   -----------   -----------
>  -----------         ------------     --------------
> 
> On Mon, Feb 23, 2015 at 8:17 PM, Atin Mukherjee <amukherj at redhat.com> wrote:
>>
>>
>> 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
> 
> 

-- 
~Atin


More information about the Gluster-users mailing list