Restrictions on centos6 partition size

Source: Internet
Author: User

On Thursday, I went to the data center to install the system. I bought a new dell server and made RAID 5 for 6 2 TB hard disks. I used all the hard disk space when installing the system 《2 TB or above hard disk installationCentos6 is introduced in this article.

This installation uses the kickstart file method. A total of 10 servers are not installed for more than 1 hour (mainly due to the long wait time for the first hard disk formatting ).

After installation, I thought there was no problem. Result: to check the installation result, log on to a server and find that the disk/is only 8 Tb (only one /). Use

# Parted/dev/sda print

Command to view, the hard disk space clearly says 9999 GB, then where is the disappearance of more than 1 TB space. With questions, I modified the ks file and manually specified the size of the/partition part to 9990000 (the original grow ). Then reinstall the server. The result is an error during installation, as shown in.

The partition size is too large, exceeding the size allowed by the ext4 format (the allowed size is 0 to 8388608 MB ). It seems that

So I modified ks again and commented out all the partitions in ks. In this way, perform manual partitioning during installation. The result is that a single partition cannot exceed the preceding value regardless of the ext3 or ext4 format. Only xfs can use all the space, but no lvm partition is tested here. comrades who have the same requirements will not prevent the test.

The final solution is. If you change the partition format to xfs, the entire space with more than 9 TB is used normally. I hereby record it and give it to the same brothers


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.