From owner-freebsd-current@FreeBSD.ORG Mon Dec 29 20:42:04 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CD7B16A4CE for ; Mon, 29 Dec 2003 20:42:04 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1A1B43D5F for ; Mon, 29 Dec 2003 20:41:56 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id C28C972DC7; Mon, 29 Dec 2003 20:41:56 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id C01AA72DAD; Mon, 29 Dec 2003 20:41:56 -0800 (PST) Date: Mon, 29 Dec 2003 20:41:56 -0800 (PST) From: Doug White To: Joan Picanyol In-Reply-To: <20031225192817.GA14608@grummit.biaix.org> Message-ID: <20031229203052.R27691@carver.gumbysoft.com> References: <20031225192817.GA14608@grummit.biaix.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: fsck on reboot in 5.x X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 04:42:04 -0000 On Thu, 25 Dec 2003, Joan Picanyol wrote: > The other day I had the first power failure on a RELENG_5_1 machine, and > much to my surprise, it didn't resume normal operation because of fsck > issues (long lines): > > [joan@iaeste-catalunya:~]0 $grep fsck /tmp/dmesg > WARNING: R/W mount of / denied. Filesystem is not clean - run fsck > WARNING: R/W mount of / denied. Filesystem is not clean - run fsck > WARNING: R/W mount of /fs/tmp/mount denied. Filesystem is not clean - run fsck > WARNING: R/W mount of /fs/home/mount denied. Filesystem is not clean - run fsck > WARNING: R/W mount of /fs/std-var/mount denied. Filesystem is not clean - run fsck > WARNING: R/W mount of /fs/aegee/mount denied. Filesystem is not clean - run fsck / shouldn't appear in this list. Can you show us your fstab? It seems as if the pass numbers are wrong. fsck uses the pass numbers in fstab to figure out what filesystems to check when. > So, can anyone enlight me about how to make FreeBSD postpone rw mount of > dirty fs's until bgfsck has finished? bgfsck doesn't kick off until the filesystem has been checked for any critical issues. In your case, it appears that something is keeping fsck from executing. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org