Skip to contentSkip to conversation

Ext4 documentation

DISCUSSION Diego Calleja 3 participants 4 messages Dec 22, 2008 – Dec 23, 2008

lore
Share & tools
lore
#0 lore raw

Due to the astounding lack of good end-user documentation about Ext4, I've taken the freedom of writing an article about it for the kernelnewbies 2.6.28 changelog: http://kernelnewbies.org/Ext4

If you find any error or you have some suggestion, just tell me and I'll fix it.

#1 lore raw
Quoted 6 lines · Diego Calleja

Due to the astounding lack of good end-user documentation about Ext4, I've taken the freedom of writing an article about it for the kernelnewbies 2.6.28 changelog: http://kernelnewbies.org/Ext4

If you find any error or you have some suggestion, just tell me and I'll fix it.

Looks pretty good, thanks for writing this up. Minor notes:
- While > 16TB is supported by ext4 disk formats, the mke2fs/e2fsck code to support this is not in any released e2fsprogs yet
- I don't think the journal async commit blocks are enabled by default, so the "20% speedup" is not available yet. There is some work that needs to be done to make this feature 100% safe in case of corruption.
- I'm not sure if enabling flex_bg on an existing ext3 filesystem is useful
- you don't mention anything about the required e2fsprogs version. I _think_ (someone should confirm) that e2fsprogs-1.41.3 is the minimum version that anyone should use.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

#3 lore raw
In reply to Diego Calleja

Hi, Diego

Thanks for your efforts.

About migrating from ext3 to ext4, you suggested the following:
tune2fs -O extents,uninit_bg,flex_bg,dir_index /dev/yourfilesystem

Tuning on flex_bg isn't supported yet. tune2fs doesn't really do the magic you want. It just sets the incompatible feature bit in super block and nothing else. An e2fsck after that won't modify the ondisk format either. e2fsck doesn't check log_groups_per_flex right now(might be a bug if superblock corrupts?).

So even if you turn on flex_bg, fs doesn't benefit from flex_bg feature.

Quoted 11 lines · Diego Calleja

Due to the astounding lack of good end-user documentation about Ext4, I've taken the freedom of writing an article about it for the kernelnewbies 2.6.28 changelog: http://kernelnewbies.org/Ext4

If you find any error or you have some suggestion, just tell me and I'll fix it.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 7 lines
Cheers,

Bergwolf

................
Margaret Mead  - "Always remember that you are absolutely unique. Just
like everyone else."
#2 lore raw
In reply to Andreas Dilger
Quoted 10 lines · Andreas Dilger

Looks pretty good, thanks for writing this up. Minor notes:
- While > 16TB is supported by ext4 disk formats, the mke2fs/e2fsck code to support this is not in any released e2fsprogs yet
- I don't think the journal async commit blocks are enabled by default, so the "20% speedup" is not available yet. There is some work that needs to be done to make this feature 100% safe in case of corruption.
- I'm not sure if enabling flex_bg on an existing ext3 filesystem is useful
- you don't mention anything about the required e2fsprogs version. I _think_ (someone should confirm) that e2fsprogs-1.41.3 is the minimum version that anyone should use.

Thanks, I've mentioned all this.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html