Bug 762462 (GLUSTER-730)

Summary: unknown filetypes and inode conflicts in afr
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: coreAssignee: Anand Avati <aavati>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: amarts, avati, chrisw, gluster-bugs, robin
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
log files of client and server and ls output on the mount point and export directories none

Description Raghavendra Bhat 2010-03-17 12:25:38 UTC
The client log file says unknown filetype and inode conflict. Actually one of the backend directories contained some files and directories before starting glusterfs. Those files are not selfhealed. 

The server log files says in posix_setattr function setattr(lstat) on <file_name> failed. 

The client and server logs are attached. Also the "ls" output on the mountpoint and both the export directories are attached.

Comment 1 Vikas Gorur 2010-03-17 16:05:58 UTC
This is because of POSIX constants still being used in afr:

afr-self-heal-common.c:1223:	case S_IFREG:
afr-self-heal-entry.c:767:	case S_IFREG:
afr-self-heal-entry.c:1759:	case S_IFREG:

These need to be changed to use the iatt constants.

Comment 2 Anand Avati 2010-04-08 16:57:01 UTC
PATCH: http://patches.gluster.com/patch/3127 in master (iatt: change S_IF macros with IA_IF macros in missing places)

Comment 3 Vikas Gorur 2010-04-13 15:43:48 UTC
*** Bug 811 has been marked as a duplicate of this bug. ***