Bug 765272 (GLUSTER-3540) - brick name duplication in /etc/glusterd store
Summary: brick name duplication in /etc/glusterd store
Keywords:
Status: CLOSED WONTFIX
Alias: GLUSTER-3540
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Rajesh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-13 07:14 UTC by Rajesh
Modified: 2013-07-04 22:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-11 11:08:44 UTC
Regression: ---
Mount Type: All
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Rajesh 2011-09-13 07:14:10 UTC
Created a volume "V"
gluster volume info V:

Volume Name: V
Type: Distribute
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: 192.168.1.84:/home/raj/bricks/d
Brick2: raj-pc:/home/raj/bricks/a-b-c
Brick3: raj-pc:/home/raj/bricks/a/b/c

the last two bricks make entries in /etc/glusterd/vols/V/bricks/ clash (both will have the filename "raj-pc:-home-raj-bricks-a-b-c") and only one remains after overwriting the other (slashes are replaced by hyphens for filenames). Volume mounts fine, but fails almost all Posix compliance tests (so one cannot do any operations on it).

Need another way to store files in /etc/glusterd. Replacing slashes with hyphens( 's/\//-/g' ) does not work in this case.


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