LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Run fsck Manually re inodes part of corrupted orphan linked list (http://www.linuxquestions.org/questions/linux-newbie-8/run-fsck-manually-re-inodes-part-of-corrupted-orphan-linked-list-926751/)

ipersuade 01-31-2012 12:49 PM

Run fsck Manually re inodes part of corrupted orphan linked list
 
Hi,

When my linux box boots up (Fedora 16, 64 bit), I receive an error that there is an inconsistency and that I must run fsck manually. The specific error(a) are (1) there is a file system with errors, and (2) inodes that were part of a corrupted orphan linked list. (This may be one error, I have not fully been able to decipher it.)

The system says that it's dropping into a debug shell, but I also get a SH error saying that the system cannot access tty because job control is turned off.

If I type "exit," the system boots up normally, mounts the filesystems, and runs fine. But, of course, I want to resolve the problem.

I have tried two categories of actions to resolve this. First, from that debug shell, I've tried to run fsck, but all fsck does when called is report the version number and exit.

Second, I have fully booted up my system, and logged in as root and executed init 1. From there my system drops into a shell from which I can run fsck. I have unmounted and checked various parts of the filesystem, but cannot find the one that has the error. Also, I'm not sure whether I CAN unmount and check each of the filesystems. (I'd try, but I'm concerned I'll cause damage to the filesystems.)

Any ideas how I can fix this? By the way, I saw some other posts about fsck, but none seem to address this particular issue. I've reviewed the man pages, but have not found anything that seems to help.

Thoughts? If there is more info you need, please advise.

-ipersuade

unSpawn 01-31-2012 02:08 PM

Quote:

Originally Posted by ipersuade (Post 4589573)
from that debug shell, I've tried to run fsck, but all fsck does when called is report the version number and exit.

In the shell run 'fdisk -l' as that shows the partitions Linux recognizes with the device names. Choose the partition to check then run 'fsck /dev/devicename' like 'fsck /dev/sda1'. If you use LVM then 'dmsetup status' should show mounted file systems in LV's to check.


All times are GMT -5. The time now is 09:14 AM.