Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install centos6 for hard drives above 2T

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you the "2T hard disk how to install centos6", the content is easy to understand, clear, hope to help you solve doubts, the following let Xiaobian lead you to study and learn "2T hard disk how to install centos6" this article.

The company has a dell server, equipped with 4 1T hard drives to do a raid5, the total capacity is about 2.99T, before the release of centos6, can only be tampered with at the raid level, first set aside a small space to install the system, the rest of the space for data partition.

Now that centos6 has been released, many new features have been added, such as the ability to boot from a GUID Partition Table (GPT) format hard drive, so that it can perfectly support more than 2T hard drives.

Before using that machine, I did a test, and it can be installed perfectly.

For a normal installation, until you can log in to the second console, (ctrl+) alt+F2, in the shell environment, change the disk from msdos mode to GPT mode, execute the following command

# / usr/sbin/parted-s / dev/sda mklabel gpt

Then return to the installation screen until you are prompted to select the partition, where you want to select "use empty space", and then the installer will create a new partition using the gpt disk, if you select the "delete everything" option here. The disk will be set to msdos mode again.

Of course, manual installation of the system can no longer meet the requirements of large-scale and rapid deployment. So it is inevitable to use kickstart. This is the pre parameter in the kickstart that you need to use. To change 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

This is not the end of the setting, but also delete the clearpart option. In this way, the installation process defaults to using all disks, and if the clearpart option is left, the disk mode will be restored to msdos mode.

Here are two screenshots of the system I installed. Because it was installed on the server, I had to take pictures with my mobile phone.

From the two mark positions in the figure, we can see that the hard disk in my system is 3T and the disk mode is GPT mode.

As you can see from the above mark, my pv uses 2.73T of space.

The above is all the contents of the article "how to install centos6 on a hard disk above 2T". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report