Home / 32-bit application not finding files on XFS filesystem

32-bit application not finding files on XFS filesystem

Inodes received 32-bit numbers or less under older XFS behavior, which always allocated inodes within the first 1TiB of the filesystem.

With more recent XFS behavior, inode64 is the default mount option, allowing inodes to be put anywhere inside the filesystem.

However, files with inode numbers greater than 32 bits may be difficult for 32-bit applications to load.

This can be avoided by using the inode32 mount option, which limits the total number of files that can be kept in very large filesystems but ensures that inodes are always allocated in the first 1 TiB.

To resolve the issue, re-create the filesystem with mkfs.xfs and always mount the filesystem with the inode32 mount option.

Leave a Reply