Bug 1085425 - Input/Output Errors with 64bit Server and 32bit client
Summary: Input/Output Errors with 64bit Server and 32bit client
Keywords:
Status: CLOSED DUPLICATE of bug 1074023
Alias: None
Product: GlusterFS
Classification: Community
Component: fuse
Version: 3.4.2
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-08 14:52 UTC by Sebastian Thomae
Modified: 2014-04-09 11:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-09 11:44:11 UTC
Regression: ---
Mount Type: fuse
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
Rebase of http://review.gluster.org/7278 to 3.4.2 (7.40 KB, patch)
2014-04-09 08:06 UTC, Niels de Vos
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 761770 0 low CLOSED ls: Input/Output Error on client in mounted volume 64bit kernel/ 32bit userland 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 762675 0 low CLOSED Input/output error when running `ls` and `cd` on directories 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1074023 0 unspecified CLOSED list dir with more than N files results in Input/output error 2021-02-22 00:41:40 UTC

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 ***


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