LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   error during file system check (https://www.linuxquestions.org/questions/linux-general-1/error-during-file-system-check-325768/)

laurentwahl 05-21-2005 05:04 PM

error during file system check
 
When my computer freezes, and I have to shut down uncorrectly, my computer finds everytime an error:
Quote:

/:197520/1326592 files (2,2% non-contignous), 1338515/2689470 blocks [FAILED]
***An error occured during the file system check
***Dropping you to a shell, the system will reboot
***When you leave the shell
Give root password for maintenance
Or type Control-D to continue:
Then I type everytime Control-D and my computer restarts and everything works fine.

But I would know what I could do in the shell by entering the root-Password. I don't know how I could fix there something, or is this option only there, for when nothing works anymore.

Is this error bad, or can I in future ignore it.

jailbait 05-21-2005 07:33 PM

"Is this error bad, or can I in future ignore it."

When you shutdown your computer in the normal manner part of shutdown is to complete all hard drive I/O that is still waiting in the cache to be done. Then a record is written on each mounted partition to indicate that the file system is clean.

When you abruptly shutdown your computer you may or may not have cache buffers which were not written out to the hard drive. For sure you do not have the clean file system record. So when you boot the kernel detects that the previous shutdown was a hard shutdown and you may have errors in your file system. Your system runs fsck to check the file system. In your post you only included the last line of the fsck output. fsck cleans up your file system using the redundant information available in the superblocks. Then the message that you posted gives you the option to either reboot or to go into a shell to do some more clean up work. If fsck worked OK (I can't tell from your post whether it did or not. It usually cleans the problem up OK.) then the best thing to do is to reboot.

"Is this error bad, or can I in future ignore it."

As long as fsck has cleaned up your file system (as it usually does) then you can ignore the last message. It isn't really an error message. It simply gives you two possible options for proceeding.

-----------------------------
Steve Stites


All times are GMT -5. The time now is 10:51 PM.