[mythtv-users] System freezes
Jan Ceuleers
jan.ceuleers at gmail.com
Tue Mar 21 15:33:14 UTC 2023
On 21/03/2023 02:59, Stephen Worthington wrote:
> Do you do a full fsck of at least the system partition(s) before
> rebooting the system normally, to ensure the system is not getting
> more and more corrupted? The easiest way to do that is to boot a live
> USB image and do it from there, or to have another bootable partition
> on the system.
In my experience an automatic repairing fsck at every boot is sufficient
to avoid unrecoverable damage.
I use the ext4 filesystem, and I have used tune2fs to set its "maximum
mount count" setting to 1 so that fsck runs at every boot on every
filesystem. I have furthermore specified the fsck.repair=yes kernel
option so that fsck has permission to fix the issues it encounters.
This prevents complicated errors from developing, which are caused by
not running fsck when the filesystem has been uncleanly unmounted.
Takes very little time on SSDs.
More information about the mythtv-users
mailing list