On Sun, Dec 28, 2008 at 04:33:28PM +0100, Christoph Thomas wrote:
> Package: e2fsprogs
> Version: 1.41.3-1
> Followup-For: Bug #509893
> 
> EXT4-fs: dm-5: Filesystem with huge files cannot be mounted read-write 
> without CONFIG_LSF.

Is there a particular reason why you are choosing to build your kernel
without CONFIG_LSF?  This is really more of a kernel configuration
problem than anything else.  Unfortunately there is no way for mke2fs
to know whether or not the user has disabled CONFIG_LSF in their
kernel.

If you must disable CONFIG_LSF (it saves a massive 4 bytes per inode),
you can create the filesystem with mke2fs -O ^huge_file.  Or you can
edit /etc/mke2fs.conf.  Just remove "huge_file," from the
configuration stanza:

[fs_types]
        ext4 = {
                features = 
has_journal,extents,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
                inode_size = 256
        }

It may be possible to enhance the kernel to allow mounting a
filesystem with huge_file, but to force the system to fail open() or
stat() operations for files that are bigger than 2TB, and to prohibit
creating files larger than 2TB, but this would be a kernel fix, and
not anything we can do in mke2fs.

For I'm going to have to treat this as either a kernel or mke2fs.conf
misconfiguration.

Regards,

                                                - Ted



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to