Bug 797737

Summary: .glusterfs hidden directory in master collides with the solaris support.
Product: [Community] GlusterFS Reporter: M S Vishwanath Bhat <vbhat>
Component: coreAssignee: Amar Tumballi <amarts>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: pre-releaseCC: gluster-bugs, mzywusko, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Solaris   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-07 11:07:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description M S Vishwanath Bhat 2012-02-27 07:31:08 UTC
Description of problem:
gfid based back-end creates .glusterfs dir in every export dir when it'll have links to original file with gfid of that as as it's name. This collides with the solaris support. Since xattr's on symlinks and special files are not supported in Solaris, a hidden directory .glusterfs is created on export dir and all xattr ops are mapped here. It's introduced in this patch 5b909c83de45e9457eef773cb24770b47d51a632
So this support will be broken in master since it makes use of .glusterfs dir to store gfid based back-end.1

Version-Release number of selected component (if applicable):
master

Comment 1 Amar Tumballi 2012-03-12 07:37:28 UTC
noticed that Solaris related Xattrs are stored in '.glusterfs_xattr_inode', instead it should get moved to ''.glusterfs/xattr-map/', that would be ideal fix. But anyways, will take it as an porting effort.

Comment 2 Amar Tumballi 2012-06-07 11:07:43 UTC
Initially when the bug was filed, we thought there is a 'collision' of directories w.r.to the usage. But '.glusterfs' is used a hidden directory in which any glusterfs specific metadata can be stored. (meta-data here is 'gfid-backend', solaris xattrs, index translator handles, etc etc). 

as requirement of .glusterfs in both case is to have a hidden directory, there won't be any collisions and bugs due to that.