I get these messages as well on 2.2.18pre19:
EXT2-fs error (device md(9,0)): ext2_new_inode: Free inodes count
corrupted in group 501
EXT2-fs error (device md(9,0)): ext2_new_inode: Free inodes count
corrupted in group 501
I've applied ide, raid and ext2compr patches. While they sound like strong
suspects for they cause of the problem (the fs in question is on ide,
softraid 1 and is ext2compr'ed), I understand Samuli sees these messages on
a stock kernel (ide and scsi), which makes me suspect this is a core kernel
issue.
I've been running fairly heavy rsync backups onto the fs in question for
more than a year, and only now I have begun to get these errors.
> problem always comes back. The backup script is essentially like this:
>
> following night second differential:
> cp -al /backup/backup2 /backup/backup3
> rsync --archive --hard-links --whole-file --sparse --one-file-system --delete --force / /backup/backup3
My backup script is a tad different, but the principle is the same: do an
initial snapshot, then cp -al it as the next day's snapshot and rsync the new
snapshot up to date. This of course introduces huge number of dir entries
and lots of inodes with big hard link counts.
BTW: What happens if the hard link count for an inode overflows?
-- v --
v@iki.fi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/