[mythtv-users] System freezes
John Pilkington
johnpilk222 at gmail.com
Wed Mar 22 13:55:24 UTC 2023
On 21/03/2023 15:39, Jan Ceuleers wrote:
> On 21/03/2023 14:58, Stephen Worthington wrote:
>> The automatic boot fsck checks are not sufficient. With a freeze
>> happens when there are writes happening on the boot partition, there
>> can be complex damage to the filesystem.
>
> So that's where my experience differs: if you run fsck every time the
> filesystem is mounted the issues it potentially needs to fix are not
> complex (because the filesystem hasn't yet been written to since the
> damage first occured).
>
> But this does involve changing the defaults: from memory fsck is run
> only once every 20 mounts or so, and that should be changed to every
> time ("once every 1 mounts"), and fsck has to be given permission to fix
> the issues it encounters (which is achieved by means of kernel parameter
> fsck.repair=yes).
>
> HTH, Jan
Yes, certainly it helps. tune2fs is part of the e2fsprogs package. But
the freeze happened again last night. The usual symptoms. I found that
ping worked, but not ssh or rsync.
Using "tune2fs -l <device>" on the 7 devices listed in fstab, whch are
on 2 disks, one said it was last checked 2 days ago, next check in 6
months or 21 mounts. The others were last checked on installation; one
7 years ago, one last year. :-(
On booting again, without any manual fsck-ery, I find
{{{
[john at HPFed ~]$ sudo SYSTEMD_COLORS=false journalctl --since -1d |
grep ": clean,"
Mar 22 08:36:36 HPFed systemd-fsck[462]: /dev/mapper/fedora-root: clean,
717649/3276800 files, 11378621/13107200 blocks
Mar 22 08:37:00 HPFed systemd-fsck[795]: /dev/sda1: clean, 467/128016
files, 306115/512000 blocks
Mar 22 08:37:00 HPFed systemd-fsck[793]: sam1: clean, 48267/32832000
files, 121560973/131072000 blocks
Mar 22 08:37:01 HPFed systemd-fsck[803]: /dev/sdb2: clean, 305/51200
files, 143591/204800 blocks
Mar 22 08:37:01 HPFed systemd-fsck[806]: /dev/sdb3: clean, 768/28139520
files, 105258046/112542464 blocks
Mar 22 08:37:04 HPFed systemd-fsck[794]: /dev/mapper/fedora-home: clean,
131957/11821056 files, 42123377/47272960 blocks
Mar 22 08:37:31 HPFed systemd-fsck[796]: /dev/sda3: clean,
427344/106831872 files, 407146188/427327488 blocks
[john at HPFed ~]$
}}}
which looks reassuring, but clearly ought not to be relied on in future.
The full journalctl shows some "Clearing of orphaned inode"s on
fedora-home and sdb3.
John P
More information about the mythtv-users
mailing list