Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 1995 09:13:19 +0200 (SAT)
From:      John Hay <jhay@mikom.csir.co.za>
To:        hackers@FreeBSD.org
Subject:   Directory entries get corrupted?
Message-ID:  <199501260713.JAA04848@zibbi.mikom.csir.co.za>

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

I have two machines here with their hardware almost identical: 486DX2-66,
Adaptec 1542B SCSI card and Conner CFP1060S 1G disks. One is running 2.0R
and the other is running current.

When there is lots of disk activity like cvs checkout of the source tree
or tar extract from a tape, a fsck will report that some directories are
corrupted. The kernel however is quite happy with that directory it seems.
If I remove that directory or move the data in the directory somewhere else
and then remove the directory, fsck is quite happy with it.

Have anybody seen something like this? Is it the software or should I suspect
the hardware?

The fsck message is:
zibbi:/ns/work/FreeBSD # fsck -n /dev/rsd1e
** /dev/rsd1e (NO WRITE)
** Last Mounted on /ns/work/FreeBSD
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
DIRECTORY CORRUPTED  I=23409  OWNER=root MODE=40775
SIZE=512 MTIME=Jan 20 11:58 1995 
DIR=?

SALVAGE? no

MISSING '.'  I=23409  OWNER=root MODE=40775
SIZE=512 MTIME=Jan 20 11:58 1995 
DIR=?

FIX? no

MISSING '..'  I=23409  OWNER=root MODE=40775
SIZE=512 MTIME=Jan 20 11:58 1995 
DIR=/src/share/doc/smm/04.quotas

FIX? no
** Phase 3 - Check Connectivity
UNREF DIR  I=15694  OWNER=root MODE=40775
SIZE=512 MTIME=Jan 20 11:58 1995 
RECONNECT? no

** Phase 4 - Check Reference Counts
LINK COUNT DIR I=15694  OWNER=root MODE=40775
SIZE=512 MTIME=Jan 20 11:58 1995  COUNT 2 SHOULD BE 1
ADJUST? no

UNREF FILE  I=23410  OWNER=root MODE=100664
SIZE=173 MTIME=Jan 11 02:15 1995 
RECONNECT? no


CLEAR? no

UNREF FILE  I=23411  OWNER=root MODE=100664
SIZE=11980 MTIME=May 30 21:08 1994 
RECONNECT? no


CLEAR? no

LINK COUNT DIR I=104016  OWNER=root MODE=40775
SIZE=512 MTIME=Jan 26 08:35 1995  COUNT 17 SHOULD BE 16
ADJUST? no

** Phase 5 - Check Cyl groups
CLEAN FLAG IS WRONG IN SUPERBLOCK
FIX? no

34513 files, 313363 used, 123292 free (12652 frags, 13830 blocks, 2.9% fragmentation)


John Hay -- jhay@mikom.csir.co.za



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501260713.JAA04848>