[Bugs] [Bug 1179658] New: Add brick fails if parent dir of new brick and existing brick is same and volume was accessed using libgfapi and smb.
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jan 7 09:47:39 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1179658
Bug ID: 1179658
Summary: Add brick fails if parent dir of new brick and
existing brick is same and volume was accessed using
libgfapi and smb.
Product: GlusterFS
Version: 3.6.1
Component: libgfapi
Assignee: bugs at gluster.org
Reporter: rtalur at redhat.com
QA Contact: sdharane at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
While doing an add-brick test saw following error :
# gluster vol add-brick afr-vol 10.16.159.197:/rhs/brick1/afr-vol/b10
10.16.159.210:/rhs/brick1/afr-vol/b11
volume add-brick: failed: parent directory /rhs/brick1/afr-vol is already part
of a volume
The error looks like the xattr is been set on parent directory so it is not
allowing the add-brick.
Workaround: To remove the xattr on parent dir and then it allows to do
add-brick.
How reproducible:
Always.
Steps to Reproduce:
1. Create a volume and access it using Windows Explorer using Samba over
libgfapi.
2. Perform a add brick operation with new brick under same dir as an existing
brick.
Actual results:
Add brick fails with error saying brick(parent dir of new brick) is already
part of the volume.
Expected results:
Add brick should succeed as new brick is not part of any volume.
Additional info:
This happens because when accessed through gfapi xattrs may have been set on
the parent of brick.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list