Bug 829675 - GlusterFS: Can't remove and re-add the same brick
Summary: GlusterFS: Can't remove and re-add the same brick
Keywords:
Status: CLOSED DUPLICATE of bug 812214
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: krishnan parthasarathi
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-07 09:21 UTC by Daniel Paikov
Modified: 2015-11-03 23:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-11 07:17:10 UTC
Embargoed:


Attachments (Terms of Use)
vdsm.log (599.94 KB, application/x-compressed-tar)
2012-06-07 09:21 UTC, Daniel Paikov
no flags Details
glusterfs log (5.30 KB, application/x-compressed-tar)
2012-06-07 09:23 UTC, Daniel Paikov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 135343 0 None None None 2012-06-07 12:49:08 UTC

Description Daniel Paikov 2012-06-07 09:21:20 UTC
Created attachment 590141 [details]
vdsm.log

* Create a brick on host:/dir
* Remove the brick
* Try to create the same brick
* 2nd create fails because the brick already exists, even though the brick was removed and doesn't appear in "gluster volume info".

Comment 1 Daniel Paikov 2012-06-07 09:23:09 UTC
Created attachment 590142 [details]
glusterfs log

Comment 3 Niels de Vos 2012-06-07 12:49:08 UTC
There are some procedures explained in https://access.redhat.com/knowledge/solutions/135343 that can help.

The (depending on view point) bug here, is that there are still some extended attributes set on the directory of the brick. After removing these, you should be able to re-use the existing brick.

Comment 4 Niels de Vos 2012-06-07 14:17:01 UTC
Bug 765572 mentions that a script can be used to remove the xattrs.

A description of it's usage can be found here:
- http://review.gluster.com/781

Comment 5 Niels de Vos 2012-06-11 07:17:10 UTC
Bug 812214#c10 contains a description about this problem as well. Closing this as a duplicate.

*** This bug has been marked as a duplicate of bug 812214 ***


Note You need to log in before you can comment on or make changes to this bug.