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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-30-2007, 06:26 AM
|
#1
|
LQ Newbie
Registered: Jan 2005
Posts: 3
Rep:
|
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.
|
|
|
10-31-2007, 04:49 AM
|
#2
|
Member
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544
Rep:
|
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.
|
|
|
10-31-2007, 05:00 AM
|
#3
|
LQ Newbie
Registered: Jan 2005
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by keratos
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.
|
|
|
10-31-2007, 05:08 AM
|
#4
|
Member
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544
Rep:
|
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.
|
|
|
10-31-2007, 05:20 AM
|
#5
|
LQ Newbie
Registered: Jan 2005
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by keratos
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.
|
|
|
All times are GMT -5. The time now is 08:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|