Bug 797737 - .glusterfs hidden directory in master collides with the solaris support.
Summary: .glusterfs hidden directory in master collides with the solaris support.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: pre-release
Hardware: Unspecified
OS: Solaris
low
low
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-27 07:31 UTC by M S Vishwanath Bhat
Modified: 2016-06-01 01:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-07 11:07:43 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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.


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