On 24 Jan 2003 16:21:58 +0000 Ricardo Santos Campos ricardo@corez23.com wrote:
Sorry bout the title, just couldn't help myself. Anyway. After doing an emerge -u system, the pc froze totally and so I had to hard reset. Sadly, on startup I get this message:
Unexpected inconsistency, please run fsck on hda3 manually. inode 161 has imagic flag set.
This is fine and dandy, I could get tomsrtbt on the case, but in fact, I have no idea what the imagic flag is, nor what it's meant to be.
I just checked the kernel source and it seems to me that the imagic flag is not used by the ext2 filesystem through there is a definition for it in a list of compatibility features. It is defined for ext3 and indicates that the inode is an AFS directory.
So, it looks like it either got turned on accidentally as part of the crash or some other part of the filesystem structure is so fsck is looking at something other than an inode when reporting this error.
If you run fsck manually what option does it offer for fixing this?
Interestingly, /dev/hda3 is the root filesystem I'm typing this e-mail on, so it ain't all that bad... is it? I use fsck 1.29 and ext2 as my filesystem.
Did you leave it mounted re-only then?
Steve.