[Gluster-users] Unable to remove / replace faulty bricks
elvinas.piliponis at barclays.com
elvinas.piliponis at barclays.com
Tue Jun 18 06:13:38 UTC 2013
When trying to recover from failed node and replace brick with spare one I have trashed my cluster and now it is in stuck state.
Any ideas, how to reintroduce/remove those nodes and bring peace and order to cluster?
There was a pending brick replacement operation from 0031 to 0028 (it is still not commited according to rbstate file)
There was a hardware failure on 0022 node
I was not able to commit replace brick 0031 due to 0022 was not responding and not giving cluster lock to requesting node.
I was not able to start replacement 0022 to 0028 due to pending brick replacement
I have forced peer removal from cluster, hoping that afterwards I would be able to complete operations. Unfortunately I have removes not only 0022 but 0031 also.
I have peer probed 0031 successfully. But now gluster volume info and volume status both lists 0031 node. But when I attempt to do a brick operation I do get:
gluster volume remove-brick glustervmstore 0031:/mnt/vmstore/brick 0036:/mnt/vmstore/brick force
Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y
Incorrect brick 0031:/mnt/vmstore/brick for volume glustervmstore
gluster volume replace-brick glustervmstore 0031:/mnt/vmstore/brick 0028:/mnt/vmstore/brick commit force
brick: 0031:/mnt/vmstore/brick does not exist in volume: glustervmstore
Same applies to 0022 which is listed in volume info but not on volume status.
Full cluster volume stop and start not attempted as there are some Terabytes of information stored and actively used (Gluster used as VM storage)
Elvinas Piliponis I Virtualisation Engineering Engineer I Global Technology Infrastructure and Services
Tel +370 5 251 1218, 7 2249 1218 I Mobile +370 656 69249 I Email elvinas.piliponis at barclays.com<mailto:elvinas.piliponis at barclays.com>
Barclays, GreenHall, Upes g. 21, Vilnius, Lithuania LT-081218
This e-mail and any attachments are confidential and intended
solely for the addressee and may also be privileged or exempt from
disclosure under applicable law. If you are not the addressee, or
have received this e-mail in error, please notify the sender
immediately, delete it from your system and do not copy, disclose
or otherwise act upon any part of this e-mail or its attachments.
Internet communications are not guaranteed to be secure or
The Barclays Group does not accept responsibility for any loss
arising from unauthorised access to, or interference with, any
Internet communications by any third party, or from the
transmission of any viruses. Replies to this e-mail may be
monitored by the Barclays Group for operational or business
Any opinion or other information in this e-mail or its attachments
that does not relate to the business of the Barclays Group is
personal to the sender and is not given or endorsed by the Barclays
Barclays Bank PLC. Registered in England and Wales (registered no.
Registered Office: 1 Churchill Place, London, E14 5HP, United
Barclays Bank PLC is authorised by the Prudential Regulation
Authority and regulated by the Financial Conduct Authority and the
Prudential Regulation Authority (Financial Services Register No.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users