Re: fsck on reboot in 5.x

From: Doug White <dwhite_at_gumbysoft.com>
Date: Mon, 29 Dec 2003 20:41:56 -0800 (PST)
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_at_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_at_gumbysoft.com          |  www.FreeBSD.org
Received on Mon Dec 29 2003 - 19:42:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:35 UTC