Partitioning and Formatting Concepts

Partition
1. The concept of partition

In simple terms, partition is to logically divide a large hard disk into multiple smaller hard disks. The purpose is to access data more quickly, and to access by category.

Second, the form of partition
1, MBR partition table: master boot record partition table. The maximum supported hard disk is 2.1TB, and each hard disk supports up to 4 partitions.

2. GPT partition table: globally uniquely identifies the partition table. Support 9.4ZB hard disk (GB, TB, EB, PB, ZB). Theoretically, there is no limit to the number of supported partitions, but Windows limits 128 primary partitions.

3. MBR partition type
Primary partition:

Up to 4
extended partitions:

Only one at most
Primary partition + extended partition can only have four at most
No data can be written, only logical partitions
Logical partitions:

Specifically used to access data

 

Formatting
1. The concept of formatting

refers to writing specific data in a specific area of ​​the disk according to the file system type selected by the user (Windows: FAT16, FAT32, NTFS; Linux: EXT2, EXT3, EXT4; RHEL7: XFS), and setting aside a piece of disk space in the partition for storing file allocation tables, directory tables, etc. for file management. In other words, the purpose of formatting is to write to the file system.

Two, Linux file system formatting

 

 

Guess you like

Origin blog.csdn.net/weixin_48345177/article/details/131828931