From owner-freebsd-stable Sun Aug 18 22:25:29 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA17020 for stable-outgoing; Sun, 18 Aug 1996 22:25:29 -0700 (PDT) Received: from quagmire.ki.net (root@quagmire.ki.net [205.150.102.51]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA17009 for ; Sun, 18 Aug 1996 22:25:26 -0700 (PDT) Received: from localhost (scrappy@localhost) by quagmire.ki.net (8.7.5/8.7.5) with SMTP id BAA15919; Mon, 19 Aug 1996 01:25:20 -0400 (EDT) Date: Mon, 19 Aug 1996 01:25:20 -0400 (EDT) From: "Marc G. Fournier" To: ccd@stampede.cs.berkeley.edu cc: stable@freebsd.org Subject: ccd and/or fsck bug in "current" stable Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi... Last week, I decided to play around with the CCD support that exists in 2.1.5R and above, so upgraded my kernel and ccd'd my news parititions into one big drive...works beautiful... Except, last nihgt, I started seeing my machine reboot every 20min, like clockwork. Night, I got down to the office and watched it reboot, with the following error: /news/spool: bad dir ino 614809 at offset 8192: mangled entry panic: bad dir Watching it reboot, fsck just reported that the clean flag wasn't set in the super block, set it, and the system back back up again...so fsck didn't find the mangled entry... Using 'find /news/spool -inum 614809 -print', I found the offending inode to belong to /news/spool/alt/books/review, which, after removing all the contents from the directory, gives me: news> ls -litd reviews 614809 drwxrwxr-x 2 news news 14848 Aug 19 00:41 reviews news> rmdir reviews rmdir: reviews: Directory not empty news> ls -lta reviews total 10 drwxrwxr-x 2 news news 14848 Aug 19 00:41 . drwxrwxr-x 45 news news 1536 Aug 18 17:21 .. news> And, running an fsck against the unmounted spool comes back with: ki# fsck -y /dev/ccd0c ** /dev/rccd0c ** Last Mounted on /news/spool ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 223864 files, 637541 used, 621322 free (46786 frags, 71817 blocks, 3.7% fragmentation) Shouldn't fsck find that mangled directory? How did it get mangled in the first place? Marc G. Fournier scrappy@ki.net Systems Administrator @ ki.net scrappy@freebsd.org From owner-freebsd-stable Sat Aug 24 10:15:28 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA17478 for stable-outgoing; Sat, 24 Aug 1996 10:15:28 -0700 (PDT) Received: from chendns.chen.com.tw (root@[203.67.46.10]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA17472 for ; Sat, 24 Aug 1996 10:15:20 -0700 (PDT) Received: from howard.chen.com.tw (howard.chen.com.tw [203.67.46.20]) by chendns.chen.com.tw (8.6.12/8.6.9) with SMTP id BAA00271 for ; Sun, 25 Aug 1996 01:14:34 +0800 Message-ID: <321F3834.37EC@chen.com.tw> Date: Sun, 25 Aug 1996 01:13:24 +0800 From: "Howard C.H. Chen" X-Mailer: Mozilla 3.0 (Win95; I) MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG Subject: (no subject) Sender: owner-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk