"Setting filesystem feature 'metadata_csum' not supported" when trying to enable ext4 metadata checksums
With Linux 3.5, it should be possible to use ext4 metadata checksums; enabling of which should be made with the following command:
# tune2fs -O metadata_csum /dev/sda1 tune2fs 1.42 (29-Nov-2011) Setting filesystem feature 'metadata_csum' not supported.
Running kernel 3.5, tried the latest e2fsprogs from git.
What am I missing here?
Signature · 2 lines
Tomasz Chmielewski http://blog.wpkg.org
Quoted 11 lines · Tomasz Chmielewski
With Linux 3.5, it should be possible to use ext4 metadata checksums; enabling of which should be made with the following command:
# tune2fs -O metadata_csum /dev/sda1 tune2fs 1.42 (29-Nov-2011) Setting filesystem feature 'metadata_csum' not supported.Running kernel 3.5, tried the latest e2fsprogs from git.
Hi Tomasz,
Could you please checkout the 'pu' branch in e2fsprogs? You need to use pu branch of e2fsprogs because the patches of metadata checksum for e2fsprogs are in this branch.
BTW, until 3.5 kernel, it seems that metadata checksum still has a bug. Here is a patch to fix this bug [1].
1. http://www.spinics.net/lists/linux-ext4/msg32685.html
Regards,
Zheng
Quoted 8 lines · Zheng Liu
Could you please checkout the 'pu' branch in e2fsprogs? You need to use pu branch of e2fsprogs because the patches of metadata checksum for e2fsprogs are in this branch.
BTW, until 3.5 kernel, it seems that metadata checksum still has a bug. Here is a patch to fix this bug [1].
OK, tried with pu branch and got this:
root@s9:/usr/src/e2fsprogs# misc/tune2fs -O metadata_csum /dev/sda1 tune2fs 1.42.3 (14-May-2012) rewrite_directory: Unknown code kJe 176 while rewriting directories
Expected?
Signature · 2 lines
Tomasz Chmielewski http://blog.wpkg.org
Quoted 11 lines · Tomasz Chmielewski
Quoted 8 lines · Zheng Liu
Could you please checkout the 'pu' branch in e2fsprogs? You need to use pu branch of e2fsprogs because the patches of metadata checksum for e2fsprogs are in this branch.
BTW, until 3.5 kernel, it seems that metadata checksum still has a bug. Here is a patch to fix this bug [1].
Quoted 7 lines
OK, tried with pu branch and got this:
root@s9:/usr/src/e2fsprogs# misc/tune2fs -O metadata_csum /dev/sda1 tune2fs 1.42.3 (14-May-2012) rewrite_directory: Unknown code kJe 176 while rewriting directoriesExpected?
No, it seems that it is not our expectation. Could you please provide more information? Such as feature list. Use "debugfs -R 'stats' /dev/${DEVICE}" to get it, please.
Regards,
Zheng
Quoted 9 lines · Zheng Liu
Quoted 5 lines
root@s9:/usr/src/e2fsprogs# misc/tune2fs -O metadata_csum /dev/sda1 tune2fs 1.42.3 (14-May-2012) rewrite_directory: Unknown code kJe 176 while rewriting directoriesExpected?
No, it seems that it is not our expectation. Could you please provide more information? Such as feature list. Use "debugfs -R 'stats'
/dev/${DEVICE}" to get it, please.
The file is over 200 kB, so uploaded it here:
http://blog.wpkg.org/debugfs-stats.txt
Signature · 1 line
Tomasz Chmielewski