[CentOS] EXT4 mount issue

Miguel Medalha miguelmedalha at sapo.pt
Mon Oct 4 17:38:59 EDT 2010


> Below is the output from "tune4fs". From what people are saying it 
> looks like et4 may not be the way to go.
>

"What people are saying"? So instead of understanding and solving some 
issue you just jump wagon, maybe only to find some other issue there?

ext4 is stable and works perfectly. You just have to configure it 
properly, as with anything.

Can you still recreate the filesystems? If so, study the parameters for 
ext4 and use them. You will want "extents", because it provides a much 
better use of disk space and avoids fragmentation.

As you are, you can still create a journal on the filesystem you have, 
using tune4fs. Look under switch -o (options).

As an example, I give you some of what I have here with a ext4 partition:

In /etc/fstab:

LABEL=/data1            /data                   ext4    
defaults,data=journal,acl,user_xattr 1 2

tune2fs gives me the following:

Filesystem features:      has_journal ext_attr resize_inode dir_index 
filetype needs_recovery extent flex_bg sparse_super large_file huge_file 
uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash
Default mount options:    journal_data user_xattr acl

Regards



More information about the CentOS mailing list