Skip to contentSkip to conversation

flex_bg with tune2fs posible?

DISCUSSION Santiago Garcia Mantinan 2 participants 2 messages Apr 9, 2011

lore
Share & tools
lore
#0 lore raw

Hi!

I had converted an ext3 filesystem to ext4 long ago but comparing it's features with the ones found on a newly formatted ext4 filesystem I found that I had these features missing:
flex_bg huge_file dir_nlink extra_isize

Current doc at ext4.wiki.kernel.org says: "There are additional ext4 features, such as flex_bg and > 16TB filesystem support that can only be enabled at format time via mke2fs."

I did activate all these 4 without any problem (2.6.38 with 1.41.12 e2fsprogs) is the doc old and doesn't reflect that this is now possible?

Or have I done something I'll regret?

So far the filesystem seems ok (e2fsck doesn't detect any problems) and files seem ok as well.

Regards...

Signature · 1 line
Manty/BestiaTester -> http://manty.net
#1 lore raw
Quoted 5 lines · Santiago Garcia Mantinan

I had converted an ext3 filesystem to ext4 long ago but comparing it's features with the ones found on a newly formatted ext4 filesystem I found that I had these features missing:
flex_bg huge_file dir_nlink extra_isize

Quoted 8 lines

Current doc at ext4.wiki.kernel.org says: "There are additional ext4 features, such as flex_bg and > 16TB filesystem support that can only be enabled at format time via mke2fs."

I did activate all these 4 without any problem (2.6.38 with 1.41.12 e2fsprogs) is the doc old and doesn't reflect that this is now possible?

Or have I done something I'll regret?

Technically, flex_bg can be activated after the filesystem is formatted, but it doesn't actually provide the benefit as if enabled at format time.

The dir_nlink and huge_file features can safely be enabled on an existing filesystem, allowing > 64000 subdirs and > 2 TB files, respectively.

The extra_isize feature will not itself do anything if the filesystem wasn't formatted with large inodes (>128 bytes), though it is possible this was done even for ext3, depending on the version of e2fsprogs used.

Quoted 2 lines

So far the filesystem seems ok (e2fsck doesn't detect any problems) and files seem ok as well.