Chinaunix

标题: mkfs.ext3 为什么会很慢呢 [打印本页]

作者: se189568    时间: 2012-03-19 14:45
标题: mkfs.ext3 为什么会很慢呢
上周我格式化了一个16T的分区
mkfs.ext3 /dev/sdc

3147483648 inodes, 4294967295 blocks
6224 blocks (5.00%) reserved for the super user
First data block=0
131972 block groups
32768 blocks per group, 32768 fragments per group
31136 inodes per group
Superblock backups stored on blocks:
        32768, 98304,163840,...............................
        ...............................
         3855122432

Writing inode tables: done                           
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information:

格式化用了2天 然后今天就一直停留在
Writing superblocks and filesystem accounting information: 这个位置 不done


有大大指教一下  这个是不是又要等待好几天呢
作者: race    时间: 2012-03-19 15:05
16T是个瓶颈,ext3管理不了,最好使用ext4,速度比ext3快很多。
上个月刚用ext4管理了一个25T的分区,用着比ext3爽多了
作者: se189568    时间: 2012-03-19 15:50
我用的是centos 5.6 不能换成ext4    之前用ext3 做过一次成功了
但是这次  要等好久哦   
停在Writing superblocks and filesystem accounting information:
不动了 按理说算是格式化完了  
现在正难受呢 慢死了  哎~~~
作者: race    时间: 2012-03-19 16:08
就是5.6版本开始正式支持ext4,升级一下内核的话效果更好,我在5.3和5.4上都运行ext4好好的,速度确实比ext3快不少。
需要下载e2fsprogs-1.42.1升级一下,编辑/etc/mke2fs.conf
fs_types] ext4 = {
features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
auto_64-bit_support = 1 # <—增加改行
inode_size = 256
作者: se189568    时间: 2012-03-19 16:15
谢谢大大  高人啊




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2