2 TB or above hard disk installation centos6

Source: Internet
Author: User

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.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.