Does this mean that read-only checks are generally not trustworthy, even
the statement that the filesystem has errors? Or something like
Read-only reports clean: fine
Read-only reports error: not necessarily really an error
I think that's possible. When e2fsck starts off, main() does:
if some sanity tests fail
if EXT2_ERROR_FS || !ext2fs_test_valid()
" contains a file system with errors"
check_if_skip is what issues the "contains a file system with errors"
message, and it may do so if the filesystem is marked with errors, OR if
a call to ext2fs_test_valid() fails.
Prior to this, check_super_block() may call ext2fs_unmark_valid() for a
variety of reasons, some of which could, I think, be caused by the
filesystem being live and not necessarily consistent when viewed by e2fsck.
So I think that the message is a bit misleading; "filesystem with
errors" sounds to me like EXT2_ERROR_FS, which should always issue some
sort of message to the syslog when set - but, you may also get the
"filesystem with errors" message due to some inconsistencies that may be
wholly due to the filesystem being mounted and in flux as fsck tries to
Ext3-users mailing list