Solved

error occured during file stystem check...

Posted on 2002-07-25
2
210 Views
Last Modified: 2013-12-15
Hi,
    i have just installed a redhatlinux 7.1. I made a shudden shutdown and on booting it produces the message "... error occured during file system check ..." then it asked me for the administrator pass , i gave it, and it prompt me "repair filesystem 1#". I am new at the linux enviroment, so any ideas what so i do in order to start the X-window service.
0
Comment
Question by:ttsenis
2 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7178520
either you did not shutdown propper, or you have a disk failture.
When it boot and prompts for repair, then just do it:
   fsck /dev/hda1

NOTE: hda1 ist the partition, you need to sunbstitute it by the one your see in the messages
0
 

Accepted Solution

by:
maxjr earned 100 total points
ID: 7183640
You may have to also run fsck  on all filesystems before it works not just the root filesystem, you can find a list of all the filesystems in /etc/fstab you should run fsck on any /dev/hd* or /dev/sd* that is listed in the /etc/fstab.

one of the reasons for this is the filesystem(s) were left in a unstable state and were not written to properly before shutdown. I have usually found if a system goes down hard more than one filesystem needs fsck to run. This will also save you many reboots to fix each filesystem as it is detected. (Yes I learned that the hard way).

I have also found using a journaling file system much better with power loss the need for fsck is virtually eliminated.

Cheers,

Max
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now