Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: mizou on February 25, 2004, 08:09:27 AM

Title: Unexpected inconsistency; run fsck manually
Post by: mizou on February 25, 2004, 08:09:27 AM
Hi

Need some advice please...

My server locked up this afternoon and when I tried to reboot, i got the following message.

Inodes that were part of a corrupted orphan linked list found
/:Unexpected inconsistency; run fsck manually (ie without -a or -p options)

...An error occured during the file system check
...dropping you to shell:the system will reboot
...when you leave shell
Give root password for maintenance (or type Control-D for normal startup)


I don't know if this might be relevant to the above problem, but during the day, while using the webmail function, one of the guys renamed, deleted and recreated the "sent-mail" folder. Now when you "compose" a new email, the save copy to doesn't have the "sent-mail folder listed next to it" (see my post at http://forums.contribs.org/index.php?topic=20962.0

Hope it is not a major problem..??? :-(
Title: Re.: Unexpected inconsistency; run fsck manually
Post by: psc on February 25, 2004, 10:57:50 AM
Firstof all: RTFM: man fsck

Now run fsck manually.
Title: how to fix HDD: manually fsck
Post by: Jáder on February 26, 2004, 01:15:12 AM
I do this way:

Boot from Knoppix CD
Enter in text mode (CTRL ALT F2)

fdisk /dev/hda
(just to be sure big partition is hda6)
fsck.ext2 -C -V /dev/hda6 -r

OR

fsck.ext2 /dev/hda6 -p-c -f-v

(I have both on notes... so I don´t remember WHAT exactly I used last time... was a long time ago!)
Thanks god! :)
Title: Re: how to fix HDD: manually fsck
Post by: bushinc on February 26, 2004, 08:46:43 AM
> Boot from Knoppix CD

I've used the Trinity Rescue Kit 1.1 on my Dell PE2550 server with Perc 3/Di controller.
http://trinityhome.org/trk/

It allows you to fsck, mount/edit the raid filesystem.
Of course you would use /dev/sda instead of hda.
Title: Unexpected inconsistency; run fsck manually
Post by: mizou on February 28, 2004, 06:13:09 AM
Thanks heaps (PSC - Jader) for your help. It is now back up and running.