From owner-freebsd-hackers Wed Jan 25 23:12:21 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id XAA17868 for hackers-outgoing; Wed, 25 Jan 1995 23:12:21 -0800 Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id XAA17862 for ; Wed, 25 Jan 1995 23:12:09 -0800 Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.6.9/8.6.6) id JAA04848 for hackers@FreeBSD.ORG; Thu, 26 Jan 1995 09:13:20 +0200 From: John Hay Message-Id: <199501260713.JAA04848@zibbi.mikom.csir.co.za> Subject: Directory entries get corrupted? To: hackers@FreeBSD.org Date: Thu, 26 Jan 1995 09:13:19 +0200 (SAT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1944 Sender: hackers-owner@FreeBSD.org Precedence: bulk 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