Reese Knowledgebase

How to check if Large File Size (LFS) is enabled

View Kristian Reese's profile on LinkedIn

If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 37
by: Reese K.
Posted: 15 May, 2012
Last updated: 15 May, 2012
Views: 4590

To check if a file system supports the LFS standard, you can use the getconf command.  If the result is 64, LFS is supported.


In the example above, the root file system was checked.  If /var for example, is a separate file system, specify /var in its place.  You may also use the 'mount' command to verify the file system type that is being used.  ext2 / ext3, for example, has full support for LFS.

I found this nice read take from

Kernel 2.6: For both 32-bit systems with option CONFIG_LBD set and for 64-bit systems: The size of a file system is limited to 273 (far too much for today). On 32-bit systems (without CONFIG_LBD set) the size of a file is limited to 2 TiB. Note that not all filesystems and hardware drivers might handle such large filesystems.

This article was:   Helpful | Not Helpful
Prev   Next
Create a temp file with random characters     Advanced techniques for using the UNIX find command