Errors with Linux file system

Closed Thread

Join Date: Jul 2004
Posts: 3
Reputation: HoWS is an unknown quantity at this point 
Solved Threads: 0
HoWS HoWS is offline Offline
Newbie Poster

Errors with Linux file system

 
0
  #1
Sep 27th, 2004
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):
Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 51
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: Errors with Linux file system

 
0
  #2
Sep 27th, 2004
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
Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: Errors with Linux file system

 
0
  #3
Sep 27th, 2004
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.
Alex Cavnar, aka alc6379
Quick reply to this message  
Closed Thread

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Hardware Configuration Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC