Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2007 21:47:02 -0500
From:      Dan D Niles <dan@more.net>
To:        Josh Paetzel <josh@tcbug.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fsck fails on 6T system
Message-ID:  <1175136422.6636.14.camel@usul>
In-Reply-To: <20070329012110.GB43851@tcbug.org>
References:  <1175107133.21170.24.camel@jane.spg.more.net> <20070329012110.GB43851@tcbug.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2007-03-28 at 20:21 -0500, Josh Paetzel wrote:
> 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).
> > 
[clip]
> 
> RAM...lots and lots of RAM.  Start with about 8 gigs and give it a 
> try.
> 

The machine has 3G of RAM.  But as I said, it should only be using 2.3G
when it stops.  It has 3G of space so adding more RAM wouldn't help.  It
does not appear that it will go past 2G even though I increased the
process limits to near 3G.

BTW, if MAXDSIZ plus MAXSSIZ is greater than the size of real memory the
machine won't boot. I tried it.  Also, the max memory FreeBSD can use is
about 3.5G unless you use the experimental PAE kernel.

Any other ideas on how to get fsck to work on a 6T filesystem?

Thanks,

Dan







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1175136422.6636.14.camel>