16TB limit of ext4 file systems on centos6(rhel6) linux

2019-03-19 KENNETH 0

centos6 환경에서 16TB 이상의 파일시스템 생성하기 환경OS : CentOS-6.10 (6버전 / 64bit)Disk : /dev/sdbSize : 17990.5 GB (17990533775360 bytes) 실행시 에러 메세지mkfs.ext4 /dev/sdb1mke2fs 1.41.12 (17-May-2010)mkfs.ext4: Size of device /dev/sdb1 too big to be expressed in 32 bits using a blocksize of 4096. 근거 https://access.redhat.com/articles/rhel-limitsrhel 공식 발표 내용이다.. 즉, rhel6(cent6)에서는 16TB 가 한계… 환경 개선을 통해 지원하도록 처리해 보자. /etc/mke2fs.conf : centos6 원래 상태 /etc/mke2fs.conf : 변경된 상태 “auto_64-bit_support = 1” 추가 신버전의 e2fsprogs 설치 2019.03.19 기준으로 1.44.5 버전이 최신이었음 wget http://prdownloads.sourceforge.net/e2fsprogs/e2fsprogs-1.44.5.tar.gztar zxvpf e2fsprogs-1.44.5.tar.gzcd e2fsprogs-1.44.5./configure makemake install 설치된 e2fsprogs 활용 /usr/local/sbin/mkfs.ext4 /dev/sdb1에러가 없이 잘 된다… 그래서 마운트를 시도해 보면… 이렇게 오류가 발생한다. # mount /dev/sdb1 /home2 mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog – try dmesg | tail or so 이유 [ more… ]