Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2020 12:19:51 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Matthias Fechner <idefix@fechner.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: installation of 12.1R and 11.3R fails
Message-ID:  <20200526121951.d239e337.freebsd@edvax.de>
In-Reply-To: <b167d389-6e9c-b4d0-41ef-1a98fb51459d@fechner.net>
References:  <CAEC7393CTQGQ=zQ7fM63iSkpdvO8R0q-q6iLWUOx4=XaYanO1A@mail.gmail.com> <d760435a-af0d-8a84-b350-43311c8e321e@holgerdanske.com> <CAEC73938_0co-Sk3JzZz10gP%2BVg6%2Bk1jWj87KJbU3_XkLU2Spg@mail.gmail.com> <f4a4889a-1e7f-b951-3d67-35994cbcf2a6@holgerdanske.com> <CAEC7390f3b6iwwjV9Zpv5hsRbv=t81_WnFDbePwDG4V66A1z0w@mail.gmail.com> <CAEC7391PVoPo%2BgSD6a3zWYF4bGfyxpri-gRrQNGsASQMK8ZPDA@mail.gmail.com> <20200525110946.dd7440ac.freebsd@edvax.de> <CAEC7391n9L85sPH-%2BKVgE6quFGM_bpUQS_Y7GvUgU1s2X0CR0Q@mail.gmail.com> <CAHu1Y72BR=G2hxBRM8WbwprON5wRcK=uUtXBcvpFMs8k1jKSNw@mail.gmail.com> <b167d389-6e9c-b4d0-41ef-1a98fb51459d@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 May 2020 08:08:17 +0200, Matthias Fechner wrote:
> Am 26.05.2020 um 01:29 schrieb Michael Sierchio:
> > cat <<EOFF > /mnt/etc/rc.conf
> > fsck_y_enable="YES"
> > background_fsck="YES"
> > background_fsck_delay="60"
> 
> thanks a lot for this script, very interesting!
> 
> Here you could also use:
> sysrc -f /mnt/etc/rc.conf fsck_y_enable="YES"
> 
> Has the advantage to not wipe the existing file, but only add/modify the
> keys you would like to touch.
> This is maybe more future proof.

Allow me a little addition:

The setting

	background_fsck="YES"

is something I try to avoid at all costs, because it often
leads to "problems of unclear reason", i. e., filesystem
inconsistencies that you won't immediately recognize as
such, but they are present and lead to strange program
behaviour. That's why personally I absolutely prefer

	background_fsck="NO"

and have the system perform a filesystem check and repair
if needed, because _if_ the system issues such a process,
it does so for a good reason, and performing this process,
if needed even twice, makes sure your system's data is
clean and healthy. In my experience, the background_fsck
will not be able to deliver this in every case. Sure, this
comes at a certain price (boot takes longer), but if the
integrity of your data is considered, why not? :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200526121951.d239e337.freebsd>