LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-30-2007, 06:26 AM   #1
proxima-tom
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
Error 16: Inconsistent filesystem structure


[I have Googled this, but I'm not finding anything that works for me - hence this post].

I'm running Fedora Core 6 on a Dell SC420. Been working fine for ages - on Friday night I did a normal shutdown, but on Monday morning it won't boot - I get a message "Error 16: Inconsistent filesystem structure", at which point it loops round and tries to boot again, with the same error, etc.

If I select a previous version of the kernel at the boot menu, it gets a bit further - it starts booting, but this time runs a "Checking filesystems" - the / filesystem checks OK, but when it gets to /boot I get an error:

"Error reading block 49404 (Attempt to read block from filesystem resulted in short read) while doing inode scan."

It then lets me drop to a maintenance prompt.

If I run fsck from the maintenance prompt, I get the same "short read" error, followed by "ignore error<y>?" Selecting 'y', I get "force rewrite<y>?" - selecting 'y' the fsck then ends.

If I re-run the fsck, it reports the / and /boot filesystems as clean. However, if I reboot, the whole thing starts again.

Can anyone help me? If not, I have a fairly current backup of this drive, so buying a new drive and starting with a fresh install is an option, but I'd obviously rather not.

Thanks in advance for any ideas.

Last edited by proxima-tom; 10-31-2007 at 04:21 AM.
 
Old 10-31-2007, 04:49 AM   #2
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
try

fsck -f -y (/dev/xxx whatever)

If you are getting errors on the same blocks each time then it sounds like that drive has hard errors that it is unable to work around. As such you need to be thinking about replacing the disk drive ASAP since this could be an indication that a really bad failure is about to occur. Make immediate backups of all data on that drive, move that data to another disk and use from there.

At the maintenance prompt you can get to, post the /var/log/messages file here. I suspect this may confirm seek errors on the drive.

Last edited by keratos; 10-31-2007 at 04:50 AM.
 
Old 10-31-2007, 05:00 AM   #3
proxima-tom
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by keratos View Post

At the maintenance prompt you can get to, post the /var/log/messages file here. I suspect this may confirm seek errors on the drive.
Thanks for your help - yes, you're right - /var/log/messages is fairly scary looking:

smartd: Device: /dev/hda, 20 Currently unreadable (pending) sectors
smartd: Device: /dev/hda, 20 Offline uncorrectable sectors
[repeats every half hour]

I'm all backed up already, so I think I'll take your advice and go out and find myself a new hard-drive pronto.

Thanks again for the help.
 
Old 10-31-2007, 05:08 AM   #4
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
Hi again.

Mmmm. These dont look good do they.

There are lots of tools that can perform surface and low level scans but even if they identified the problem you would still have to fix them (repair the drive).

It could be the controller. Have you tried connecting the drive to another controller (primary<>secondary) NOT master<>slave. Are there any other drives on this same controller?

It could also be temperature of the drive. Is it HOT inside the system case/chassis?

Or age - How old is the disk? Do you know?

Good luck mate anyway.

Last edited by keratos; 10-31-2007 at 05:10 AM.
 
Old 10-31-2007, 05:20 AM   #5
proxima-tom
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by keratos View Post
Hi again.
It could be the controller. Have you tried connecting the drive to another controller (primary<>secondary) NOT master<>slave. Are there any other drives on this same controller?

It could also be temperature of the drive. Is it HOT inside the system case/chassis?

Or age - How old is the disk? Do you know?

Good luck mate anyway.
Hmm, thanks for the ideas. I do have some other similar (nearly identical) machines, so I could do a bit of disk / controller swapping.

The disk is not hot - in fact, it's almost as if it's the opposite - the profile of this machine is that it's on 24x7, and very rarely switched off - when I switched it off last week it was probably the first time for months - and it was when doing a cold (i.e. really cold - the room and machine were cold) restart that this problem occurs. Now it's all warmed up again, I'm tempted to try again. I think the machine is about 3 years old, but if memory serves I think the disk is older than that (long story...)

Realistically, it's an old drive which is running low on space anyway, so I think I'll grab a new one and hope that solves it.

Thanks for your help.
 
  


Reply

Tags
boot, error, filesystem, fsck, read, short, structure


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filesystem structure for website with a large amount of uploads DGath Linux - General 1 07-07-2007 04:44 AM
Need Linux Filesystem Structure Explained! siq Linux - Newbie 11 05-31-2006 09:16 AM
Advice on filesystem structure mikeyt_333 Linux - General 3 03-14-2006 08:56 AM
Filesystem structure Techformer Linux - Newbie 3 11-29-2004 03:35 PM
error with structure rubinbob Programming 2 07-21-2004 07:55 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration