Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 1997 09:31:07 +0000
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        freebsd-bugs@freebsd.org
Subject:   /var ufs failed strangely on 2.2.2 with 2940UW
Message-ID:  <347BEC5B.4D073D13@tdx.co.uk>

next in thread | raw e-mail | index | archive | help
Hi,

I'm running BSD 2.2.2-RELEASE on an AST Premmia GX/90 (P90 with 64Mb RAM) -
it's using a 2940UW controller with 1 Quantum 'Atlas-II' UltraWide drive...

Our filesystem has a seperate mount point for '/var' - being a 2gb partition
(we do a lot of mail processing, and on a 9gb drive ;-)

A couple of days ago all our admin scripts failed overnight, the following day
- going into the '/var/log' directory revealed 1 file - 'apache_access.log',
and no others... Fearing the worse (some hacker panicing and trying to remove
the logs) - I started to look through the system.

Things like syslogd were still running - and still apprently happily logging
to /var/adm/messages (even though the file appeared not to exist) - but doing
something like a 'touch /var/log/test' - wouldn't error - but wouldn't create
the file either?.

In the end I decided to run the system up in single user, and fsck the /var
filesystem. This worked (I ended up with a lost+found directory with all the
files in it in the usual #xxxxxxx format) - fsck found about 20 - 30 problems
(mostly unlinked dir's, truncated files etc.) - and I did manage to get
everything back - without going to the backup tapes.

Has anyone seen anything like this before? - Before downing the system
everything was working (i.e. syslogd, apache etc.) - were all running &
logging, but the FS was obviously not in too good a state...

I've now compiled in the aic7870.c driver (1.54 I beleive, from 2.2.5) into
our 2.2.2 system (We've had this running on our dev box for about a month or
so) - in some vain attempt at ensuring it's not the 2940...

We have 4 BSD machines at the moment (3 with 2940UW's in similar
configurations) - the oldest is about 1yr - but this is the first time this
has happened... I'm not _really_ interested in reporting it as a bug, I'm just
concerned if anyone has seen anything similar, etc...

Regards,

Karl Pielorz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?347BEC5B.4D073D13>