Re: strange "file system was modified" report from e2fsck

From: Andreas Dilger
Date: Fri Jul 09 2004 - 17:01:13 EST


On Jul 09, 2004 18:31 +0200, Frank van Maarseveen wrote:
> mke2fs -j
> mount it
> Fill disk as root with one huge >150GB file
> umount it
> e2fsck -f -v: ok
> mount it
> rm 150 GB file
> umount it
> e2fsck -f -v: ***** FILE SYSTEM WAS MODIFIED *****
>
> After removing the big file and umounting the ext3 partition, e2fsck -f -v
> invariably reports that the file system has been modified. This doesn't
> happen for a small file.

The "RO_COMPAT_LARGE_FILE" flag is set when a > 2GB file is created, but
it can't be cleared when the file is removed since it isn't refcounted.
This can only be cleared by e2fsck if no other large files exist.

> Filesystem features: has_journal filetype sparse_super

See no "large_file" flag.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://members.shaw.ca/adilger/ http://members.shaw.ca/golinux/

Attachment: pgp00000.pgp
Description: PGP signature