The size of Linux files can be limited; different file systems have different restrictions on file size. For example, the maximum number of blocks supported by the ext3 file system is 2 to the 32nd power. The size of the number of blocks is variable and can be directly It affects the size of the file system and the size of the file, and the maximum file size that the etx3 file system can support is 2TB.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
Can the size of Linux files be limited?
The maximum number of blocks supported by the ext3 file system is 2 to the 32nd power. . The block size is variable, which directly affects the size of the file system and the size of the file.
The above figure shows the theoretical value. The specific implementation may not reach it. Red Hat Linux does not reach it. The maximum file system is 16TB.
The following It is the limitation of each file system:
The first is Windows:
FAT16 has a maximum file of 2GB and a maximum partition of 2GB
FAT32 has a maximum file of 4GB and a maximum partition of 128GB (if you use disk management partitioning, Maximum 32GB)
NTFS maximum file 2TB Maximum partition 2TB
Linux can support multiple operating systems, only EXT2 and EXT3 are introduced
Ext2
Maximum file Size: 1TB
Maximum file limit: Only limited by file system size
Maximum partition/file system size: 4TB
Maximum file name length: 255 characters
Default min/max block size: 1024/4096 bytes
Default inode allocation: 1 per 4096 bytes Configuration)
Ext3
Maximum file size: 2TB
Maximum file limit: Only limited by file system size
Maximum partition/file system size: 4TB
Maximum file name length: 255 characters
Default min/max block size: 1024/4096 bytes
Default inode allocation: 1 for every 4096 bytes
Maximum mount before forcing FS check: 20 (configurable)
Recommended learning:
Linux video tutorialThe above is the detailed content of Can the size of linux files be limited?. For more information, please follow other related articles on the PHP Chinese website!