Koozali.org: home of the SME Server

Unexpected inconsistency; run fsck manually

mizou

Unexpected inconsistency; run fsck manually
« 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..??? :-(

Offline psc

  • *
  • 151
  • +0/-0
Re.: Unexpected inconsistency; run fsck manually
« Reply #1 on: February 25, 2004, 10:57:50 AM »
Firstof all: RTFM: man fsck

Now run fsck manually.
First, solve the problem. Then, write the code.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
how to fix HDD: manually fsck
« Reply #2 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! :)
...

Offline bushinc

  • ***
  • 62
  • +0/-0
    • http://www.bushinc.com
Re: how to fix HDD: manually fsck
« Reply #3 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.
...

mizou

Unexpected inconsistency; run fsck manually
« Reply #4 on: February 28, 2004, 06:13:09 AM »
Thanks heaps (PSC - Jader) for your help. It is now back up and running.