From owner-freebsd-questions@FreeBSD.ORG Thu Mar 29 01:20:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4BF416A407 for ; Thu, 29 Mar 2007 01:20:27 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.200.82]) by mx1.freebsd.org (Postfix) with ESMTP id 822DD13C44C for ; Thu, 29 Mar 2007 01:20:27 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from gimpy.tcbug.org (c-75-72-199-210.hsd1.mn.comcast.net[75.72.199.210]) by comcast.net (sccrmhc12) with ESMTP id <2007032901202601200t7v87e>; Thu, 29 Mar 2007 01:20:26 +0000 Received: by gimpy.tcbug.org (Postfix, from userid 1001) id 807ED8A03E; Wed, 28 Mar 2007 20:21:10 -0500 (CDT) Date: Wed, 28 Mar 2007 20:21:10 -0500 From: Josh Paetzel To: Dan D Niles Message-ID: <20070329012110.GB43851@tcbug.org> References: <1175107133.21170.24.camel@jane.spg.more.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1175107133.21170.24.camel@jane.spg.more.net> Cc: freebsd-questions@freebsd.org Subject: Re: fsck fails on 6T system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Josh Paetzel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2007 01:20:27 -0000 Dan D Niles wrote: > I am trying to fsck a 6T filesystem on a server that crashed. I'm > running FreeBSD 6.2-p3. > > # fsck -t ufs -y /dev/da0 > fsck_ufs: cannot alloc 1993797728 bytes for inoinfo > > I also tried: > > # fsck -t ufs -f -p /dev/da0 > /dev/da0: UNKNOWN FILE TYPE I=11895232 > /dev/da0: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. > > > I built a custom kernel with MAXDSIZ and DFLDSIZ just under 3G, and got > the same results. It was at about 430M in use when it crashed, so the > total would be 2332 M which is less that the size allowed (reported by > limits). > > I found an old bug report from 2004 that is still open, but nothing has > been done. I also found an old article about someone (thinking about) > rewriting fsck to use disk instead of memory, but no follow-up. > > Has anyone found a solution to this? > > Any suggestions? > > HELP! > > Thanks, > > Dan RAM...lots and lots of RAM. Start with about 8 gigs and give it a try. Thanks, Josh Paetzel