Date: Mon, 13 Mar 2006 23:56:08 -0500 From: Kris Kennaway <kris@obsecurity.org> To: "Tamouh H." <hakmi@rogers.com> Cc: freebsd-questions@freebsd.org Subject: Re: how does a system come up if you disable background fsck ? Message-ID: <20060314045608.GA7378@xor.obsecurity.org> In-Reply-To: <20060314044240.C6F8543D46@mx1.FreeBSD.org> References: <4416483E.70600@ywave.com> <20060314044240.C6F8543D46@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 13, 2006 at 11:42:45PM -0500, Tamouh H. wrote: > =20 > >=20 > > Ensel Sharon wrote: > > > I have disabled background fsck in my /etc/rc.conf with: > > >=20 > > > background_fsck=3D"no" > > >=20 > > > But I am curious - what does this mean for the system if the system= =20 > > > crashes ? > > >=20 > > > Does this mean that the system will wait for all non root=20 > > partitions=20 > > > to fully fsck before coming up into multi-user mode ? > > >=20 > > > OR > > >=20 > > > Does it mean the system will boot up quickly into=20 > > multi-user mode, but=20 > > > the non-root partitions will just not be mounted and/or=20 > > usable until I=20 > > > fsck them by hand ? > > >=20 > > > thanks. > >=20 > > The former, as I can say with ample experience this morning.=20 > > (stupid USB > > panic) > >=20 > > HTH, > > Micah >=20 > I find both ways useless. If fsck background starts after a crash it lite= rally slows down the machine to a halt rendering it unusable. >=20 > If enable fsck to check the system prior to mounting device, it will take= at least 15-30 minutes for it to complete (in the event of a hard crash). = Which also translates to a downtime. >=20 > disabling fsck on the long run is a bad choice too as eventually the syst= em files will become corrupt beyond repair. >=20 > What is the solution here ? Invest in a UPS? Kris --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEFkznWry0BWjoQKURAr02AKC9pRgiBTaUCbuWPoJFaf054oLy5gCfaZkO R//wWh6z4VOXAgFxCiTcjlM= =fV/3 -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060314045608.GA7378>