Nowadays, hard disks are very cheap and the capacity is N large. common dos partition tables cannot meet the needs of large hard disks. The sin of a dos partition table is that 1. only a limited number of partitions are supported. for historical reasons, only 64 K (4x16 k) is reserved for the primary partition, that is, four primary partitions; 384 k (24x16 k) is reserved for logical partitions, that is, up to 23 logical partitions. 2. it is also a historical reason that 2 TB or more hard disk partitions are not supported. at that time, 2 TB is still an astronomical number, while GPT has the following advantages: 1. the partition table capacity can be expanded to 16 kB, But GPT can
Nowadays, hard disks are very cheap and the capacity is N large. common dos partition tables cannot meet the needs of large hard disks.
Dos partition table:
1. only a limited number of partitions are supported.
For historical reasons, only 64 K (4x16 k) is reserved for the primary partition, that is, 4 primary partitions; 384 k (24x16 k) is reserved for the logical partition ), that is, up to 23 logical partitions can be created.
2. hard disk partitions larger than 2 TB are not supported
This is also the historical reason. at that time, 2 TB is still an astronomical number.
The advantages of GPT are as follows:
1. scalable partition table capacity
A partition is still 16 k, but GPT can expand the capacity of the partition table. after creating a GPT partition table, you can create a small partition, such as 1 M, to store the partition table, the number of partitions has increased significantly.
2. there is nothing to say. it supports large partitions larger than 2 TB.
How to create a GPT partition under CentOS 6
1. parted or gparted
2. gdisk
Use the parted method
# /usr/sbin/parted -s /dev/sdb mklabel gpt
Gdisk is the simplest, similar to fdisk.
# gdisk /dev/sdb
Like fdisk, the derivatives include cgdisk and sgdisk.
You can use the epel source to install gdisk.
# yum install gdisk --enablerepo=epel
This article is from the "Purple_Grape blog", please be sure to keep this source http://purplegrape.blog.51cto.com/1330104/935664