紅帽/CentOS ext4無法格式化大分區

來源:互聯網
上載者:User

標籤:centos   ext4   紅帽   檔案系統   格式化   

紅帽/CentOS 6.5的e2fsprogs版本為1.41.12較低,無法建立16TB以上的檔案系統

下載最新的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

mount /dev/sda1 /mnt

 

常見故障表現:

[[email protected] ~]# mount /dev/sda1 /mnt/
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

 

[[email protected] ~]# mkfs.ext4 /dev/sda1
mke2fs 1.41.12 (17-May-2010)
mkfs.ext4: Size of device /dev/sda1 too big to be expressed in 32 bits
 using a blocksize of 4096.


[[email protected] ~]# mkfs.ext4 -b 8192
Warning: blocksize 8192 not usable on most systems.
mke2fs 1.41.12 (17-May-2010)
mkfs.ext4: 8192-byte blocks too big for system (max 4096)
Proceed anyway? (y,n) y
Warning: 8192-byte blocks too big for system (max 4096), forced to continue
Filesystem label=
OS type: Linux
Block size=8192 (log=3)
Fragment size=8192 (log=3)
Stride=0 blocks, Stripe width=0 blocks
1464926208 inodes, 2929459075 blocks
146472953 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4311218176
44706 block groups
65528 blocks per group, 65528 fragments per group
32768 inodes per group
Superblock backups stored on blocks:
 65528, 196584, 327640, 458696, 589752, 1638200, 1769256, 3210872,
 5307768, 8191000, 15923304, 22476104, 40955000, 47769912, 143309736,
 157332728, 204775000, 429929208, 1023875000, 1101329096, 1289787624

紅帽/CentOS ext4無法格式化大分區

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.