🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20617

/var becomes readonly when receiving news feed

#20617
From: Geoffrey Dann
Date: Mon, 18 Aug 1997 00:00
63 lines
3163 bytes
I have Redhat Linux v 2.0.27 running on a generic Pentium 133 box with
16 MB RAM and a 2.5 GB IDE drive.  I set it up last December and it's
been running mostly WWW server stuff with a light load.  
Two weeks ago I set up the INND that came with the Linux distribution. 
Three times, I think when my newsfeed was sending, my system has stopped
receiving articles, cron has started issuing messages that it can't
write its log file (which it wants to do every two minutes). 
Apparently, the /var partition has become read-only.  Reboot won't work,
I suppose because reboot wants to write to the logs.  The only fix I've
found is to hit the reset button, then manually run fsck to clean up the
garbage.  

The messages on the console this morning were the following 3 lines
repeated every few minutes:

/var/log/cron:  no space left on device
CROND:  can't write to log file
root (08/18 09:43:00-20946) CMD ([ -x /usr/sbin/atrun ] &&
/usr/sbin/atrun )

Tail of /var/log/messages showed the last line to be:
Aug 18 08:51:30 otsego kernel: hda: read_intr: Status=0x59 {DriveReady
SeekComplete DataRequest Error }

Tail of /var/log/newslog (non-standard, but I put the news stuff there
instead of in messages) has a last line of:
Aug 18 08:24:13 innd: poisson.nosc.mil connected 18

I hit the reset button and watched it reboot.  The end of the sequence
included fsck messages:

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?  

Thanks..
				geoff
  

-- 
Geoffrey Dann		 805-982-1366 (voice)
geoff@nfesc.navy.mil     805-983-5388 (fax - shared)
Naval Facilities Engineering Service Center, Port Hueneme CA USA 93043

Technical Details
Message-ID: <33F89F3F.FDF@nfesc.navy.mil>
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

Show Full Headers
Complete Article Headers
Message-ID: <33F89F3F.FDF@nfesc.navy.mil>
Subject: /var becomes readonly when receiving news feed
Date: Mon, 18 Aug 1997 00:00:00 +0000
From: Geoffrey Dann <geoff@nfesc.navy.mil>
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: 265305521
Organization: Naval Facilities Engineering Service Center
Newsgroups: comp.os.linux.misc,news.software.nntp