5fc77c259da124035.jpg_fo742.jpg

[root@public /]# mkfs.ext4 /dev/mapper/mpathbp1
mke2fs 1.41.12 (17-May-2010)
mkfs.ext4: Size of device /dev/mapper/mpathbp1 too big to be expressed in 32 bits
    using a blocksize of 4096.
[root@public /]# mkfs.ext4 -T largefile /dev/mapper/mpathbp1
mke2fs 1.41.12 (17-May-2010)
mkfs.ext4: Size of device /dev/mapper/mpathbp1 too big to be expressed in 32 bits
    using a blocksize of 4096.

###红帽/CentOS 6.5的e2fsprogs版本为1.41.12较低,无法创建16TB以上的文件系统
[root@public /]# mkfs.xfs /dev/mapper/mpathbp1
warning: device is not properly aligned /dev/mapper/mpathbp1
Use -f to force usage of a misaligned device
[root@public /]# mkfs.xfs -f /dev/mapper/mpathbp1
warning: device is not properly aligned /dev/mapper/mpathbp1
meta-data=/dev/mapper/mpathbp1 isize=256 agcount=32, agsize=167772153 blks
= sectsz=512 attr=2, projid32bit=0
data = bsize=4096 blocks=5368708871, imaxpct=5
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal log bsize=4096 blocks=521728, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0

也可升级解决:
下载最新的e2fsprogs,编译安装
ftp://ftp.ntu.edu.tw/linux/kernel/people/tytso/e2fsprogs/

tar zxvf e2fsprogs-1.42.10.tar.gz
cd e2fsprogs-1.42.10
mkdir build
cd build/
../configure
make
make install

mke2fs -O 64bit,has_journal,extents,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize -i 4194304 /dev/sda1

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code