Subject: Re: is this critical?
To: None <wonko@tmok.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 04/10/2001 10:28:31
On Mon, Apr 09, 2001 at 11:21:54PM -0400, Brian Hechinger wrote:
> Build started at: Mon Apr  9 22:20:17 EDT 2001
> (cd /usr/src/etc && make -m /usr/src/share/mk DESTDIR=/ distrib-dirs)
> install  -d -o root -g wheel -m 755 /
> mtree -def mtree/NetBSD.dist -p // -u
> mtree: var/log: Input/output error
> missing: ./var/log (not created: Input/output error)
> missing: ./var/log/rdist (not created: Input/output error)
> 
> that is just where i saw it first:
> 
> $ cd /var
> $ cd log
> ksh: cd: /var/log - Input/output error
> $ ls log
> ls: log: Input/output error
> $ ls -l
> ls: log: Input/output error
> total 42
> drwxr-xr-x   2 root    wheel      512 Nov 23 02:02 account
> drwxr-xr-x   4 root    wheel      512 Feb  2 18:11 at
> [snip]
> 
> anyone?

Either your HD is failing, or the filesystem on the disk is corrupted.
In the first case you should have error messages on console.
To detect the second, run a fsck on a quiet system: if you can't be sure
your system will be quiet, reboot to single user. Then type
sync
fsck -fn /var
(assuming /var is a separate partition; otherwise type fsck- fn /)

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--