Article View: news.software.nntp
Article #20738Re: /var becomes readonly when receiving news feed
From: Olaf Mertens
Date: Wed, 20 Aug 1997 00:00
Date: Wed, 20 Aug 1997 00:00
80 lines
3874 bytes
3874 bytes
On 19 Aug 1997 14:09:10 -0400, Frank Sweetser wrote:
>Geoffrey Dann <geoff@nfesc.navy.mil> writes:
>
>> hda: read_intr: status=0x59 {DriveReady SeekComplete DataRequest Error }
>> hda: read_intr: errror=0x40 {Uncorrectable Error }, LBAsect=3731168,
>> sector=1900577
>> end_request: I/O error, dev 03:06, sector 1900577
>> Error reading block 950288 (Attempt to read block from filesystem
>> resulted in short read) while doing inode scan.
>> /dev/hda6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
>> (Repair filesystem)#
>>
>> at which prompt I typed fsck /dev/hda6
>> On pass 1, fsck reported the same as the first 3 lines as above, plus
>> the same messages but with LBAsect=3763965, sector=1933374,
>> block=966687.
>> Pass 2 showed one error, an unused inode in flight-simulator (which I
>> don't care about), but otherwise fsck ended ok. I typed "reboot" again,
>> and the system came up ok.
>>
>> Any hints? Do I need to somehow edit the bad block list, or replace my
>> disk? Is there a book or faq I should read on this? Is there a known
>> bug in the kernel or in INND that I should get a patch for?
>
>This is standard behavior. When the kernel encounters certain fs errors,
>the default action is to remount that filesystem read-only. You can also
>have it continue, or reboot, I believe.
>
>However, in this case, those types or eror messages usually mean that the
>drive is dying. I'd get a new one, asap, if I were you...
>
Hey!
I got exactly the same problem with Redhat 4.0. I'm glad, that I'm not
the only one with this strange thing.
In my case this problem was initiated by a daily cron job that
performed some updates of the locate-database and other little
standard actions. Suddenly the system load went up and the
/var-partition was read-only. That resulted in an unusable system.
This cron job was configured to start at 2 a.m. Normally I don't stay
up that late and switch off my computer, so this cron job wasn't
started for 6 months. I didn't even know that cron was configured this
way.
The problems started when I finished my master thesis (I had to work
all night :)
I nearly got mad that my Linux-system crashed when I needed it most.
First I replaced the /var-partition with another one on a different
drive, but the problem wasn't solved. When the cron job started, the
system got slower and died and /var became read-only.
Finally I solved my problems by disabling the cron daemon. I didn't
need it anyway.
I don't believe that this was an hardware error.
I don't know if it's possible, but I think that the logging messages
of cron were appended to /var/log/cron (?) in some ugly ways that
screwed up the file system. I'm sure that something was wrong with
cron, because I had no problems when executing the cron jobs
manually.
Now I'm running Redhat 4.2 without any problems.
But to be on the save side I disabled cron right after its
installation.
Olaf
--
------------------------------------------------
Olaf Mertens
Email: olafbahg@linux.zrz.tu-berlin.de
Telefon (privat): (030) 9715344
------------------------------------------------
Technical Details
Message-ID:
<5tfivu$jsp$1@brachio.zrz.TU-Berlin.DE>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<33F89F3F.FDF@nfesc.navy.mil> <wvyd8naavuh.fsf@wpi.WPI.EDU>Show Full Headers
Complete Article Headers
Message-ID: <5tfivu$jsp$1@brachio.zrz.TU-Berlin.DE> Subject: Re: /var becomes readonly when receiving news feed Date: Wed, 20 Aug 1997 00:00:00 +0000 From: olafbahg@linux.zrz.tu-berlin.de (Olaf Mertens) References: <33F89F3F.FDF@nfesc.navy.mil> <wvyd8naavuh.fsf@wpi.WPI.EDU> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 265561560 Distribution: inet Organization: Technical University Berlin, Germany Newsgroups: comp.os.linux.misc,news.software.nntp