All of lore.kernel.org
 help / color / mirror / Atom feed
* 32 bit stat() on a 64 bit kernel failing on a large NFS filesystem?
@ 2006-06-20 11:05 James Pearson
  2006-06-20 11:30 ` Bernd Schubert
  0 siblings, 1 reply; 3+ messages in thread
From: James Pearson @ 2006-06-20 11:05 UTC (permalink / raw)
  To: NFS List

I recently found a problem running a 32bit (i686) binary on a 64bit 
(x86_64) kernel that fails when stat'ing any file on a multi-TB NFS 
clustered file system (a non-Linux file system).

stat() returns EOVERFLOW (Value too large for defined data type)

The same 32bit binary running on a 32bit kernel stat'ing the same files 
works OK.

In both cases, I'm using RHEL4 based distros on the clients (I also 
tried a generic 2.6.16.x kernel on the 64 bit client, but that made no 
difference).

We can work round the problem by either making sure the binary is 
compiled with _FILE_OFFSET_BITS set to 64, or configuring the NFS file 
server to use 32 bit 'file IDs'.

My question are:

Is this a 'bug' or 'feature' with using a 32 bit app on a 64 bit kernel?

If it's a 'feature', can anyone explain why it works in this way?

Thanks

James Pearson




_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-22 10:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 11:05 32 bit stat() on a 64 bit kernel failing on a large NFS filesystem? James Pearson
2006-06-20 11:30 ` Bernd Schubert
2006-06-22 10:44   ` James Pearson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.