🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Betsy Schwartz Mon, 14 Oct 1996 00:00
SunOS, INN, Disk Corruption, have you seen this?
#11637
Author: Betsy Schwartz
Date: Mon, 14 Oct 1996 00:00
30 lines
1716 bytes
We're having a weird problem and I'm wondering if anyone has seen
anything similar.

Hardware: Sun 4/75, 64M ram, Micropolis 4-gig external SCSI Disk
Software: SunOS 4.1.4, INN1.5beta (same problem with INN1.4unoff3, though)

Problem: disk starts to get errors, directories become zero length 
          unreadable files or other wierd files, ultimately FSCK reveals a
          bad superblock zero

So far we've swapped the disk, same problem, and upgraded from INN1.4unoff3
to INN1.5beta, same problem.  I'm about to try another machine as news
(after going back and triple-checking the disk partition info.)

Just wondering if anyone has had the same problem? It smells like a
hardware problem but...

Thanks Betsy

(posting from my personal account because, well, news at work isn't too
reliable right nowo)

-- 
betsys@shore.net                        http://www.shore.net/~betsys
betsys@cs.umb.edu                       http://www.cs.umb.edu/~betsys
betsys@well.com                         73053.2210@compuserve.com 
betsys@msn.com                          betsy_s@delphi.com(going, going..)

Re: SunOS, INN, Disk Corruption, have you seen this?
#11638
Author: Chrisy Luke
Date: Mon, 14 Oct 1996 00:00
19 lines
1413 bytes
On 14 Oct 1996 11:11:26 -0400, Betsy Schwartz
<betsys@northshore.shore.net> wrote:

>Hardware: Sun 4/75, 64M ram, Micropolis 4-gig external SCSI Disk
>Software: SunOS 4.1.4, INN1.5beta (same problem with INN1.4unoff3, though)

>So far we've swapped the disk, same problem,

I've had *HUGE* problems with Micropolis drives in the past, both wide
and narrow SCSI. Did you swap it with another brand or the same?

Chris.
== chrisy@easynet.net, chrisy@flirble.org.uk, chrisy@etsiig.uniovi.es
== Newsmaster and Senior Systems Developer for Easynet Group Plc.
== To Flirble or not to Flirble? That is not a question, but a
== statement of being, of life and of survival.

Re: SunOS, INN, Disk Corruption, have you seen this?
#11644
Author: Andrew Francis MCKEON
Date: Mon, 14 Oct 1996 00:00
34 lines
2024 bytes
Betsy Schwartz <betsys@northshore.shore.net> writes:

>We're having a weird problem and I'm wondering if anyone has seen
>anything similar.

>Hardware: Sun 4/75, 64M ram, Micropolis 4-gig external SCSI Disk
>Software: SunOS 4.1.4, INN1.5beta (same problem with INN1.4unoff3, though)

>Problem: disk starts to get errors, directories become zero length 
>          unreadable files or other wierd files, ultimately FSCK reveals a
>          bad superblock zero

>So far we've swapped the disk, same problem, and upgraded from INN1.4unoff3
>to INN1.5beta, same problem.  I'm about to try another machine as news
>(after going back and triple-checking the disk partition info.)

>Just wondering if anyone has had the same problem? It smells like a
>hardware problem but...

I also had problems running any version of Inn on my IPC, which runs SunOS
4.1.4. Every couple of days the kernel would panic, as some part of INND would
corrupt the disk. It seemed to be corrupting the table the block table, because
every time it crashed the IPC, the log files would show up with messages
saying bad block number -91349172948712 and the like!!!

An annoying problem, but as I was setting up the news server just as a learning
experience, I unfortunatley never got around to finding out WHY it did it.

I hope you can solve the problem.

Andrew

Re: SunOS, INN, Disk Corruption, have you seen this?
#11658
Author: Betsy Schwartz
Date: Tue, 15 Oct 1996 00:00
30 lines
1700 bytes
casper@fwi.uva.nl (Casper H.S. Dik) writes:
> Betsy Schwartz <betsys@northshore.shore.net> writes:
> 
> >We're having a weird problem and I'm wondering if anyone has seen
> >anything similar.
> 
> >Hardware: Sun 4/75, 64M ram, Micropolis 4-gig external SCSI Disk
> >Software: SunOS 4.1.4, INN1.5beta (same problem with INN1.4unoff3, though)
> 
> 
> Is this one partition of 4GB?  That could explain what happened as writes
> will wrap around and destroy stuff in the first 2GB.

Thanks!

The disk is partitioned into two 1.9-gig partitions and one "leftover"
70-meg partition. The first partitions seem to each be about half-full
but I'm not sure I trust the result of df or du  on a corrupted disk.

I've received several suggestions so far, so we have a lot to try:

Relevant patch: SunOs 102516-05 (SunOS 4.1.4: UFS File system Patch)
Triple-checking the disk partition table 
Checking the SCSI cabling, cable length,termination, swapping cables
Trying another brand of disk 
Switching to Solaris (I'd rather not, yet...)


Re: SunOS, INN, Disk Corruption, have you seen this?
#11663
Author: Casper H.S. Dik
Date: Tue, 15 Oct 1996 00:00
24 lines
1464 bytes
Betsy Schwartz <betsys@northshore.shore.net> writes:

>We're having a weird problem and I'm wondering if anyone has seen
>anything similar.

>Hardware: Sun 4/75, 64M ram, Micropolis 4-gig external SCSI Disk
>Software: SunOS 4.1.4, INN1.5beta (same problem with INN1.4unoff3, though)


Is this one partition of 4GB?  That could explain what happened as writes
will wrap around and destroy stuff in the first 2GB.


(Unlezss when you're using Online: Disksuite for SunOS 4.x)

Casper
-- 
Casper Dik - Sun Microsystems - via my guest account at the University
of Amsterdam.  My work e-mail address is: Casper.Dik@Holland.Sun.COM
Statements on Sun products included here are not gospel.
Unsolicited e-mail advertisements will be proofread for $250.

Re: SunOS, INN, Disk Corruption, have you seen this?
#11690
Author: Chris Lewis
Date: Tue, 15 Oct 1996 00:00
38 lines
2142 bytes
In article <nui7motvaw1.fsf@northshore.shore.net>,
Betsy Schwartz  <betsys@northshore.shore.net> wrote:
>We're having a weird problem and I'm wondering if anyone has seen
>anything similar.
>
>Hardware: Sun 4/75, 64M ram, Micropolis 4-gig external SCSI Disk
>Software: SunOS 4.1.4, INN1.5beta (same problem with INN1.4unoff3, though)
>
>Problem: disk starts to get errors, directories become zero length 
>          unreadable files or other wierd files, ultimately FSCK reveals a
>          bad superblock zero
>
>So far we've swapped the disk, same problem, and upgraded from INN1.4unoff3
>to INN1.5beta, same problem.  I'm about to try another machine as news
>(after going back and triple-checking the disk partition info.)
>
>Just wondering if anyone has had the same problem? It smells like a
>hardware problem but...

Hi Betsy,

INN really thrashes the disk, so if there's any teensy little problem
in the file system/driver code or the hardware, things tend to snowball
fast.

You say "external scsi".  One quick thing to check: is the SCSI bus
terminated properly?  It should have one internally on the SCSI master
inside the machine, and another on the last drive in the chain - it
may be internal to the drive - check for jumpers.

Another thing to consider is cable length.  We had a news system with
SCSI cables about 2 metres longer than the max (3 metres?) - we
occasionally had problems with that too until we shortened it.
-- 
Chris Lewis: _Una confibula non sat est_

Re: SunOS, INN, Disk Corruption, have you seen this?
#11695
Author: Ronald Hello
Date: Tue, 15 Oct 1996 00:00
50 lines
2535 bytes
In article <nui7motvaw1.fsf@northshore.shore.net>, Betsy Schwartz <betsys@northshore.shore.net> writes:
rh>We're having a weird problem and I'm wondering if anyone has seen
rh>anything similar.
rh>
rh>Hardware: Sun 4/75, 64M ram, Micropolis 4-gig external SCSI Disk
rh>Software: SunOS 4.1.4, INN1.5beta (same problem with INN1.4unoff3, though)
rh>
rh>Problem: disk starts to get errors, directories become zero length 
rh>          unreadable files or other wierd files, ultimately FSCK reveals a
rh>          bad superblock zero
rh>
rh>So far we've swapped the disk, same problem, and upgraded from INN1.4unoff3
rh>to INN1.5beta, same problem.  I'm about to try another machine as news
rh>(after going back and triple-checking the disk partition info.)
rh>
rh>Just wondering if anyone has had the same problem? It smells like a
rh>hardware problem but...
rh>
rh>Thanks Betsy
rh>

I had about the same problems with a SunOS 4.1.1 / CNEWS setup. As far as I
could determine, the problems started when the filesystem got full. CNEWS
would corrupt it before it stopped because of the write failures. The
corruptions would stay undetected until a crash. By then it was $@#% to
get the filesystems OK again.
It all stopped when I migrated to a SunOS 5.4 / INN-1.4 setup. By now
I'm running SunOS 5.5 and I haven't seen these problems back.

In the old setup I spent lots of time on solving the problem, but I
never got it fully solved. There are known problems with the filesystems
in SunOS 4.1.X, some can be solved with patches. But I never got it
100% stable with CNEWS.

So I think you'll just have to upgrade to SunOS 5.5(.1) to get rid of
your problems.

Ronald.


-- 
// Ronald Hello  (Ronald.Hello@cs.utwente.nl)
// University of Twente
// Department of Computer Science
// The Netherlands



Re: SunOS, INN, Disk Corruption, have you seen this?
#11704
Author: Robert B. Tate
Date: Wed, 16 Oct 1996 00:00
19 lines
1497 bytes
In article <nui7motvaw1.fsf@northshore.shore.net>,
Betsy Schwartz  <betsys@northshore.shore.net> wrote:
>We're having a weird problem and I'm wondering if anyone has seen
>anything similar.
>Problem: disk starts to get errors, directories become zero length 
>          unreadable files or other wierd files, ultimately FSCK reveals a
>          bad superblock zero

I had problems like that and what I found was that when there were several 
rnews  programs running on the in.coming directory I had problems. If I 
limited it to only 1 running, all was OK. It seems that they were all 
accessing the same file at the same time and processing the same article 
at the same time which seems to cause it. I just changed the script that 
called rnews -U to check and if one was running, don't run.



Re: SunOS, INN, Disk Corruption, have you seen this?
#11753
Author: Betsy Schwartz
Date: Fri, 18 Oct 1996 00:00
22 lines
1514 bytes
We seem to have found our problem. Bad partition table <blush>.

We've been buying a lot of disks and we've been using a home-rolled tool
to make the partition tables on a little spreadsheet, to prevent this
sort of error. I guess there's no substitute for checking by hand...

I did, also, install the UFS jumbo patch, as recommended. Can't hurt.

Inn 1.5 seems to be MUCH FASTER than the previous version we were running
(which was 1.4unoff3sec)  The real test will come a few days down the line
as our expiring grows...

thanks again for all the suggestions!

-- 
betsys@shore.net                        http://www.shore.net/~betsys
betsys@cs.umb.edu                       http://www.cs.umb.edu/~betsys
betsys@well.com                         73053.2210@compuserve.com 
betsys@msn.com                          betsy_s@delphi.com(going, going..)

Re: SunOS, INN, Disk Corruption, have you seen this?
#11776
Author: Alan Brown
Date: Sat, 19 Oct 1996 00:00
39 lines
1942 bytes
In article <5448lu$9ov@ntous.tous.oau.org>,
Robert B. Tate <rbt@ntous.tous.oau.org> wrote:

>I had problems like that and what I found was that when there were several 
>rnews  programs running on the in.coming directory I had problems. 

I did too.

Here's my script. I run it out of crontab hourly with the echos piped to 
a serial terminal I had sitting round and pressganged into service as a 
logger. Shlock is far easier on system resources than ps ax :-)

#!/bin/sh
# clear.in.coming.sh
# script to run rnews -U, ensuring that only one copy is running.
# Uses the basic shlock building block.
# AJB 17 July 1994

       LOCK=/usr/local/news/LOCK.rnewsU
          trap 'rm -f ${LOCK} ; exit 1' 1 2 3 15
          if /usr/local/news/bin/shlock -p $$ -f ${LOCK} ; then
              # Do appropriate work
		echo 'Starting rnews -U' 
		/usr/bin/rnews -U > /dev/cub1
		echo 'rnews -U finished' 
          else
              echo Locked by `cat ${LOCK}`
          fi
exit 0




-- 
If you go down to the woods today you're sure for a big surpise: Teddies 
in leather who bang heads together, with black liner round their eyes.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads