From owner-freebsd-hackers Fri Feb 13 23:24:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA11644 for freebsd-hackers-outgoing; Fri, 13 Feb 1998 23:24:30 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA11639 for ; Fri, 13 Feb 1998 23:24:25 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id RAA23427; Sat, 14 Feb 1998 17:54:14 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id RAA03083; Sat, 14 Feb 1998 17:54:14 +1030 (CST) (envelope-from grog) Message-ID: <19980214175413.56936@freebie.lemis.com> Date: Sat, 14 Feb 1998 17:54:13 +1030 From: Greg Lehey To: "Daniel O'Callaghan" , freebsd-hackers@FreeBSD.ORG Cc: mrb@labyrinth.net.au Subject: Re: fsck -p in /etc/rc on large ccd References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from Daniel O'Callaghan on Sat, Feb 14, 1998 at 05:51:03PM +1100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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