Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1085425

Summary: Input/Output Errors with 64bit Server and 32bit client
Product: [Community] GlusterFS Reporter: Sebastian Thomae <sebastian.thomae>
Component: fuseAssignee: Niels de Vos <ndevos>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4.2CC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-09 11:44:11 UTC Type: Bug
Regression: --- Mount Type: fuse
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Rebase of http://review.gluster.org/7278 to 3.4.2 none

Description Sebastian Thomae 2014-04-08 14:52:37 UTC
Description of problem:
Two Peers (one 32bit one 64) have a brick each and form a volume
When i mount this volume on a 64bit host everything works fine.
When i mount it on a 32bit host everything works fine until i add a lot of files.

When i have added a lot (several million) files in directories to this volume i cannot browse the share from the 32bit client any more.




Version-Release number of selected component (if applicable):
All Hosts have version 3.4.2 installed

How reproducible:
sometimes it needs a restart of the client (glusterd) to show this behaviour

Steps to Reproduce:
ls -al /path/to/mounted/volume

Actual results:
ls: cannot access /path/to/mounted/volume: Input/output error

Expected results:
list of files shown

Additional info:
There are several bugs with this or similar behaviour since 2009 and all but one were closed without an explanation why this happens

Comment 1 Sebastian Thomae 2014-04-08 14:54:10 UTC
added similar bug

Comment 2 Sebastian Thomae 2014-04-08 14:55:40 UTC
added similar bug

Comment 3 Sebastian Thomae 2014-04-08 14:58:09 UTC
changed mount type

Comment 4 Sebastian Thomae 2014-04-08 15:18:58 UTC
if i delete most of the files from a 64bit machine the volume gets accessible again

Comment 5 Sebastian Thomae 2014-04-09 06:34:00 UTC
any directory with only a few files in it works fine while directories with many files in it show IO errors on the same Volume

Comment 6 Niels de Vos 2014-04-09 08:06:43 UTC
Created attachment 884416 [details]
Rebase of http://review.gluster.org/7278 to 3.4.2

Patch for testing against 3.4.2. The problem is related to READDIR(P) procedures and the patch contains major corrections for this.

Comment 7 Sebastian Thomae 2014-04-09 08:17:30 UTC
this patch works for me

Comment 8 Niels de Vos 2014-04-09 11:44:11 UTC
Marking as a duplicate of the 32-bit server and 64-bit client bug. The same patch seems to resolve this issue too. Please follow bug 1074023 for details on when a release contains the fix.

*** This bug has been marked as a duplicate of bug 1074023 ***