Linux partition, file system, linux partition File
Linux partition type:
◆ Primary partition: a maximum of four partitions can be created.
◆ Extended partition: Only one partition can be used as the primary partition, that is
The primary partition cannot store data or format data. Therefore, it must be divided into logical partitions for use.
◆ Logical partition: logical partitions are divided in extended partitions.
Hard Disk. Linux supports a maximum of 59 logical partitions. If it is a scsi hard disk, Linux supports a maximum of 59 logical partitions.
11 logical partitions are supported.
Primary partition 1 sda1
Primary partition 2 sda2
Primary partition 3 sda3
Extended partition sda4
Logical partition 1 sda5
Logical partition 2 sda6
Logical partition 3 sda7
Logical partitions start from 5, because the numbers 1, 2, 3, and 4 are used for primary partitions and extended partitions.
File System:
◆ Ext2: upgrade version of ext file system, redhat linux7.2
By default, versions earlier than the current version are ext2 file systems. Released in 1993, with a maximum capacity of 16 TB
(1 TB = 1024G = 1024*1024 * KB)
◆ Ext3: The ext3 file system is an upgraded version of the ext2 file system. The biggest difference is that
Log function to improve the reliability of the file system when the system suddenly stops. Supports up to 16
TB partitions and files up to 2 TB
◆ Ext4: it is an upgraded version of the ext3 file system. In terms of performance, scalability, and reliability, ext4
Surface has been greatly improved. EXT4 changes can be said to be earth-shaking, such as backward compatibility
Ext3, up to 1 EB file system, 16 TB files, unlimited number of subdirectories, extents connections
Concept of continuous data blocks, multi-block allocation, delay allocation, persistent pre-allocation, fast FSCK, log
Check, no log mode, online fragment, inode enhancement, barrier enabled by default, etc.
. Is the default file system of centos 6.3. (1EB = 1024PB = 1024*1024 TB)