File & File system size limitation for Redhat

来源:互联网 发布:交换机环路端口关闭 编辑:程序博客网 时间:2024/06/05 16:28

What are the file and file system size limitations for Red Hat Enterprise Linux? 

 SOLUTION VERIFIED  - Updated February 19 2016 at 2:42 PM - 

Environment

  • Red Hat Enterprise Linux
  • Optional: Global File System version 2 (GFS2) (requires Red Hat Cluster Suite, not supported on a single server)
  • Optional: XFS
  • Filesystem limitation

Issue

  • What are the file and filesystem size limitations for Red Hat Enterprise Linux?
  • Are GFS2 filesystems over 25 TB supported?
  • Is it possible to use ext3 for filesystems 16TB and above on Red Hat Enterprise Linux?
  • I can't create a 20TB filesystem in ext4 or ext3.
  • Is it possible to use ext3 for a very large filesystems (16 TB and above)? If not, which filesystem is recommended for very large filesystems?
  • What is the maximum filesize supported within a filesystem?

Resolution

Certified and [Maximum] (individual) file size

FilesystemRHEL 3RHEL 4RHEL 5RHEL 6RHEL 7EXT2/31TiB (3.0) 2TiB (3.5+)2TiB2TiB2TiB2TiBEXT4n/an/a16TiB (5.6+)216TiB16TiBGFS12TiB16TiB [8EiB]16TiB [8EiB]n/an/aGFS2 1n/an/a100TiB (5.3+) [8EiB]100TiB [8EiB]100TiB [8EiB]XFS 3n/an/a100TiB [8EiB]100TiB [8EiB]500TiB [8EiB]

Certified and [Maximum] filesystem size

FilesystemRHEL 3RHEL 4RHEL 5RHEL 6RHEL 7EXT2/31TiB (3.0) 2TiB(3.5+)[8TiB]8TiB8TiB (5.0), 16TiB (5.1+) 416TiB16TiBEXT4n/an/a16TiB [1EiB] (5.6+)216TiB [1EiB]50TiB [1EiB]GFS2TiB16TiB [8EiB]16TiB [8EiB]n/an/aGFS2 1n/an/a100(5.3+)TiB [8EiB]100TiB [8EiB]100TiB [8EiB]XFS 3n/an/a100TiB [16EiB]100TiB [16EiB]500TiB [16EiB]

Units

Units are given in binary prefix.

TiB = Tebibyte = 2^40

EiB = Exbibyte = 2^60

Theoretical Limits

The difference between 'certified' and 'maximum' limit is that 'certified' indicates what the file system has been tested to versus what the theoreticalmaximums are within the code base. For example, GFS2 is a 64-bit based file system and has a theoretical limit of 8EiB, but only filesystems up to the size in the above table have actually been created and tested so that is what is certified. Red Hat will investigate, troubleshoot, and file bugs as needed on larger filesystems. Engineering will make a commercially reasonable effort to fix bugs stemming from usage of filesystems above supported limits. We may rely on customers for testing of patches and confirmation of fixes before rolling them into an official errata. If we cannot test patches which may provide solutions to issues, possible release of related fixes will be delayed.

Further information

This information can be found in the 'Technology capabilities and limits' section in our Red Hat Enterprise Linux versions comparison chart at: https://access.redhat.com/site/articles/rhel-limits

Notes

[1] The GFS2 filesystem is based on a 64-bit architecture, which can theoretically accommodate an 8 EiB file system. However, the current supported maximum size of a GFS2 file system is 100 TiB. Though we can create large filesystems on GFS2, in Red Hat Enterprise Linux 5.4, the use of the Global File System 2 (GFS2) as a single server file system (i.e. not in a clustered environment) is deprecated.

[2] EXT4 filesystem was a Technology Preview in RHEL 5.3, 5.4 & 5.5. RHEL 5.6 introduced full support for EXT4 as documented in the Release Notes.

[3] The solution for large filesystems is to use XFS. The XFS file system is specifically targeted at very large file systems (16 TiB and above). XFS userland is not be available in the base RHEL channel on RHN, it is provided as a layered product. Although GFS also supports very large file systems, its use is limited to Red Hat Cluster Suite environments. The maximum offset for sparse files of XFS is 8 EiB.

[4] The maximum capacity of the EXT3 is currently 16TiB. This enhancement was originally included in Red Hat Enterprise Linux 5 as a Technology Preview, and fully supported from RHEL 5.1 onward. Prior to this change the maximum capacity available in RHEL 5.0 was 8TiB.

http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/release-notes/RELEASE-NOTES-U1-x86-en.html

To create filesystems greater than 8 TiB, you may have to invoke mkfs.ext3 with 4K blocks and the -F option:

Raw
# mkfs.ext3 -F -b 4096 /dev/BiggerGroup/biggervol
  • Product(s)  
  • Red Hat Enterprise Linux
  • Component  
  • kernel
  • Category  
  • Supportability
  • Tags  
  • ext2 
  • ext3 
  • ext4 
  • gfs 
  • gfs2 
  • rhel_5 
  • rhel_6 
  • xfs

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

0 0