From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 11 03:51:14 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E32A816A4CE for ; Wed, 11 Aug 2004 03:51:14 +0000 (GMT) Received: from angryfist.fasttrackmonkey.com (angryfist.fasttrackmonkey.com [216.223.196.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id F007A43D48 for ; Wed, 11 Aug 2004 03:51:11 +0000 (GMT) (envelope-from spork@fasttrackmonkey.com) Received: (qmail 19533 invoked by uid 2003); 11 Aug 2004 03:49:28 -0000 Received: from spork@fasttrackmonkey.com by angryfist.fasttrackmonkey.com by uid 1001 with qmail-scanner-1.20 (clamscan: 0.65. Clear:RC:1(216.220.116.154):. Processed in 0.041809 secs); 11 Aug 2004 03:49:28 -0000 Received: from unknown (HELO toad.nat.fasttrackmonkey.com) (216.220.116.154) by 0 with (DHE-RSA-AES256-SHA encrypted) SMTP; 11 Aug 2004 03:49:27 -0000 Date: Tue, 10 Aug 2004 23:52:01 -0400 (EDT) From: Charles Sprickman X-X-Sender: spork@toad.nat.fasttrackmonkey.com To: freebsd-hackers@freebsd.org Message-ID: <20040810234448.A709@toad.nat.fasttrackmonkey.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: fsck and lost+found space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 03:51:15 -0000 Hi, I've worked through most of the problems I had with trying to recover some data from a dd image of a wrecked filesystem. Thanks very much to everyone that helped me out with the basics and with the vnconfig stuff to mount it. Right now I'm working on another copy of this same image, and I could use a bit of help with a problem I'm having while running fsck. At some point during the check, fsck starts complaining that there's not enough space in "lost+found" and that the file it just rescued will be trashed instead of being stashed in lost+found. >From what I've seen digging through Google this isn't an issue of not enough space on the device itself, but some limitation on how many files/directories that fsck can create in lost+found. Some folks here have suggested creating and then deleting a large number of files in that directory and then re-running fsck. I have tried that, but since I'm mounting a dirty filesystem r/w to do that all of my attempts have ended in the box panicing. Is there any other option? I know that when I hit the stage where fsck starts running out of space I'm losing about 5GB of stuff. The reason there are such a large number of files is that this is the remnants of a mailserver that used Maildirs... I was hoping for some option in fsck to allow an alternate lost+found directory on another device, but no such luck. Is there anything else that I'm overlooking? I'm willing to try anything since I'm doing all this on a junk box with a ton of space that I can panic without it bothering anyone. Thanks again, Charles