943,969 Members | Top Members by Rank

Ad:
Sep 27th, 2004
0

Errors with Linux file system

Expand Post »
I get an error as below when I try to boot my Linux server:-

/data contains a file system with errors, check forced.
Error reading block 7700497(Attempt to read block from
filesystem resulted in short read) while doing inode scan.

/data:UNEXPECTED INCONSISTENCY; RUN fsck manually.
(i.e., without -a or -p options)
[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 for normal startup):
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
HoWS is offline Offline
3 posts
since Jul 2004
Sep 27th, 2004
0

Re: Errors with Linux file system

Hi,

Type in the root password at the prompt. You should get a shell.

/data maps to some partition on your hard drive, such as /dev/hda3 You will need to find that out. Perhaps you can "cat /etc/fstab" and see the mapping. You cannot use "df", as it is likely that /data is not mounted at this point.

When you find out your actual partition, you want to run fsck:

"fsck -a /dev/hdaX" where X is that partition. The -a says "fix errors automatically"

You might wish to run the command several times.

Let us know how it works. If you need to replace /data with a second hard drive, or move it to another place, that can be done rather easily.

Christian
Team Colleague
Reputation Points: 121
Solved Threads: 57
Posting Virtuoso
kc0arf is offline Offline
1,629 posts
since Mar 2004
Sep 27th, 2004
0

Re: Errors with Linux file system

Um...

You already asked this exact question before, and I posted the answer to it already. Please don't double-post. Here is the old post:

http://www.daniweb.com/techtalkforums/thread11297.html

But, for the record, you wouldn't want to use the -a option for fsck in this instance. What this error message tells you is that whatever problem it found needs to be dealt with manually, and not by issuing the -a option when you're in the Single User mode.

Now closing this thread. Let's try and keep discussion in the older, already existing, thread.
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in Linux Kernel and Hardware Setup Forum Timeline: DVD Burner Under RH 9
Next Thread in Linux Kernel and Hardware Setup Forum Timeline: Graphics Card Query





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC