Le dim. 20 avril 2014 21:01:46 CEST, Theodore Ts'o a écrit : > > This requires recompiling e2fsprogs using the tip of the maint branch, > as I had suggested earlier (and which you had ruled out because you > didn't want to build your own e2fsprogs from source). > Thanks, that explains why I wasn't able to find this option in regular e2fsprogs. > Once you do this, and you put the following in > > hugefiles = { > features = extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize,^resize_inode,sparse_super2 > hash_alg = half_md4 > num_backup_sb = 0 > packed_meta_blocks = 1 > flex_bg_size = 262144 > inode_ratio = 4194304 > make_hugefiles = 1 > hugefiles_dir = /boot > hugefiles_name = contig-files > hugefiles_digits = 1 > hugefiles_size = 256M > num_hugefiles = 3 > } > > Using the sparse_super2 feature and setting num_backup_sb=0 disables > the backup superblocks. Then setting flex_bg_size to a very large > value (262144 in this case), will force all of the allocation bitmaps > and inodetables to the very beginning of the file system. > The tip and stanza look very useful though, I'll reconsider retrieving and compiling maint branch to try, thanks. > Note that because this uses a new compat feature, "sparse_super2", if > you use the new mke2fs to create such a file system, you will also > need to make sure the file system is checked using a version of e2fsck > that supports this new feature as well. No kernel changes are > required to support this, though. > Any plans to get this feature into master at some point in the development? --Bastien -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html