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.