Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 1998 17:54:13 +1030
From:      Greg Lehey <grog@lemis.com>
To:        "Daniel O'Callaghan" <danny@panda.hilink.com.au>, freebsd-hackers@FreeBSD.ORG
Cc:        mrb@labyrinth.net.au
Subject:   Re: fsck -p in /etc/rc on large ccd
Message-ID:  <19980214175413.56936@freebie.lemis.com>
In-Reply-To: <Pine.BSF.3.91.980214174559.294b-100000@panda.hilink.com.au>; from Daniel O'Callaghan on Sat, Feb 14, 1998 at 05:51:03PM %2B1100
References:  <Pine.BSF.3.91.980214174559.294b-100000@panda.hilink.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 14 February 1998 at 17:51:03 +1100, Daniel O'Callaghan wrote:
>
> I'm trying make a 15 GB ccd filesystem, with two 7.5 GB disk partitions,
> but while it works happily in multi-user mode, it fails to fsck at boot.
>
> The error messages are
>
> cannot allocate 8325122 bytes for lncntp
> /dev/rccd0c : CAN'T CHECK FILE SYSTEM
> /dev/rccd0c : UNEXPECTED INCONSISTENCY RUN FSCK MANUALLY
> THE FOLLOWING FILE SYSTEM HAD AN INCONISTENCY /dev/rccd0c (/var/spool/news)
> Automatic file system check failed . . . help
>
> This occurs every time you reboot - no matter how clean the shutdown
>
> The system has 128 MB ram.
>
> Any ideas?

ISTR that fsck it a little silly with memory allocation on large file
systems, but that it should work if you have enough swap.  Don't
assume that this is the first large allocation, so the 128 MB of RAM
may not be enough.

Does the file system fsck correctly after you're up and running?  If
so, you might like to check your swap usage during the fsck.  One way
or the other it would be interesting to know how much swap you have
allocated.

Greg



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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