9.2.2.7. Application fails with "Invalid argument" or "Value too large for defined data type" error.

These two errors generally happen for 32-bit NFS clients or applications that do not support 64-bit inode numbers or large files. Use the following option from the CLI to make glusterFS NFS return 32-bit inode numbers instead:
NFS.enable-ino32 <on | off>
Applications that will benefit are those that were either:
  • built 32-bit and run on 32-bit machines such that they do not support large files by default
  • built 32-bit on 64-bit systems
This option is disabled by default so NFS returns 64-bit inode numbers by default.
Applications which can be rebuilt from source are recommended to rebuild using the following flag with gcc:
-D_FILE_OFFSET_BITS=64