CentOS6.5 format large disk, centos6.5 format

Source: Internet
Author: User

CentOS6.5 format large disk, centos6.5 format

Question: during a business trip, the following problems may occur when CentOS executes the formatting command.

1 [root @ localhost ~] # Mkfs. ext4/dev/md52 mke2fs 1.41.12 (17-May-2010) 3 mkfs. ext4: Size of device/dev/md5 too big to be 4 expressed in 32 bits using a blocksize of 4096.

Cause:

The reason is that the built-in e2fsprogs version of CentOS is earlier than 1.41.12, and files of more than 16 TB cannot be created.

Solution: Improve e2fsprogs version

: Ftp://ftp.ntu.edu.tw/linux/kernel/people/tytso/e2fsprogs/

After the download, perform the installation process (I use version 1.43.3 and the latest version is 1.43.5 when I write this article ):

1 tar-zxvf e2fsprogs-1.43.3.tar.gz 2 3 cd e2fsprogs-1.43.3 4 5 mkdir build 6 7 cd build/8 9 ../configure 10 11 make 12 13 make instal

Format the disk.

Mkfs. ext4-O 64bit/dev/md5

After formatting, you can use the mount command to mount the disk. Remember to modify the configuration file so that the disk can be automatically mounted at startup.

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.