The company has a dell server with four 1 TB hard disks and a raid 5 with a total capacity of about 2.99 TB. Before centos6 was released, we had to do our work on the raid layer, first, separate a small space to install the system. The remaining space is used for data partitioning.
Now centos6 has been released and many new features have been added. For example, you can enable hard disks in the GUID Partition Table (GPT) format, so that you can perfectly support hard disks larger than 2 TB.
The machine was tested before use, and the installation was complete.
For normal installation, you can log on to the second Console (ctrl +) alt + F2. In the shell environment, convert the disk from msdos mode to GPT mode and run the following command:
#/Usr/sbin/parted-s/dev/sda mklabel gpt
Return to the installation page until you are prompted to select a partition. Select "use empty space" here, and then the installer will use the gpt disk to create a new partition. If the "delete everything" option is selected here. This disk will be set to msdos mode again.
Of course, manual installation of the system can no longer meet the needs of large-scale and rapid deployment. Therefore, kickstart is inevitable. This is the pre parameter in kickstart. This allows you to convert the disk format from msdos to GPT mode when selecting a disk. The configuration in kickstart is as follows:
% Pre/usr/sbin/parted-s/dev/sda mklabel gpt % end
The clearpart option is also deleted. In this way, all disks are used by default. If the clearpart option is retained, the disk mode will be restored to msdos.
Let's take a look at the two systems I installed. Because it was installed on the server, I had to use my mobile phone to take photos.
As shown in the two marked locations in the figure, the hard disk in my system is 3 TB and the disk mode is GPT.
From the tag, we can see that the pv I use is 2.73T space.