From owner-freebsd-questions@FreeBSD.ORG Fri Apr 23 06:29:21 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AAC316A4CE for ; Fri, 23 Apr 2004 06:29:21 -0700 (PDT) Received: from drtboi.rdsl.lmi.net (drtboi.rdsl.lmi.net [66.117.128.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BBE443D53 for ; Fri, 23 Apr 2004 06:29:21 -0700 (PDT) (envelope-from drtboi@drtboi.rdsl.lmi.net) Received: from drtboi.rdsl.lmi.net (localhost [127.0.0.1]) by drtboi.rdsl.lmi.net (8.12.10/8.12.10) with ESMTP id i3NDTKWG007800 for ; Fri, 23 Apr 2004 06:29:20 -0700 Message-Id: <200404231329.i3NDTKWG007800@drtboi.rdsl.lmi.net> From: Todd Meister To: freebsd-questions@freebsd.org Date: Fri, 23 Apr 2004 06:29:20 -0700 Sender: drtboi@drtboi.rdsl.lmi.net Subject: fsck: cannot find inode X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: todd@lmi.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2004 13:29:21 -0000 Hello, Tonight, a server crashed and, when it came up, required a manual fsck. Normally, this is not a big deal, especially on our customer web servers, where there isn't much "real" activity at the time the server crashed (~5:00am). This time, though, I saw this error for the first time, while running fsck on /dev/rccd0c (mounted normally as /usr/home): fsck: cannot find inode 71683 I searched around a bit for the error, and didn't find a whole lot, and nothing that solved the problem. I remembered the fsdb utility, and ran it, like so: fsdb /dev/rccd0c which put me in interactive mode. I poked around a bit, hoping I'd be smarter than fsck, and would find the inode on my own. Turns out, fsck was right - I couldn't find the inode. Not knowing of a better way (any suggestions are welcome, of course), I cleared the inode: clri 71683 I was then able to successfully complete a fsck on that partition, and the server booted with no problems (so far). I'm writing this mainly so that it'll go into the archives, and hopefully help someone else out later. I'm no longer on the freebsd-questions list (too much traffic for my poor brane), so CC me on replies, if you want to. -Todd