Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 23:54:34 -0500 (EST)
From:      Ensel Sharon <user@dhp.com>
To:        "illoai@gmail.com" <illoai@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how does a system come up if you disable background fsck ?
Message-ID:  <Pine.LNX.4.21.0603132351290.8684-100000@shell.dhp.com>
In-Reply-To: <d7195cff0603132032g7cbf776fld58dd748a85f43d0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 13 Mar 2006, illoai@gmail.com wrote:

> On 3/13/06, Ensel Sharon <user@dhp.com> wrote:
> >
> > I have disabled background fsck in my /etc/rc.conf with:
> >
> > background_fsck="no"
> >
> > But I am curious - what does this mean for the system if the system
> > crashes ?
> >
> > Does this mean that the system will wait for all non root partitions to
> > fully fsck before coming up into multi-user mode ?
> >
> > OR
> >
> > Does it mean the system will boot up quickly into multi-user mode, but the
> > non-root partitions will just not be mounted and/or usable until I fsck
> > them by hand ?
> 
> Hit the power button and see for yourself.


Ok, I did.  The fsck on the filesystem, if I do it manually while in
multi-user mode, ususally takes two hours.  This time, the machine took
about 20 minutes to come back up from my ungraceful power cycle.

I also notice that /var/run/dmesg.boot is a zero byte file, and
/var/log/messages has nothing about the boot cycle in it.

So, two questions:

- is the lack of data in /var because it was a non-root filesystem and was
busy fscking when dmesg.boot and messages would normally be written ?

- why did the machine come up 20 minutes later ?  I would htink either it
would come up right away, or come up two hours later ... perhaps / and
/var were fsck'd at boot, and my big partition is actually mounted dirty ?

Thanks.




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