Hello Tom,
[email protected] (Tom Smyth), 2024.07.10 (Wed) 18:40 (CEST):
> swap /var/log mfs rw,nosuid,noexec,nodev,-s=524288,-P=/persist-fs/var/log 0 0
> mfs:97883 on /var/log type mfs (asynchronous, local, nodev, noexec,
> nosuid, size=524288 512-blocks)
as you do not save the logs, why not syslog "to an in-memory buffer that may be
read using syslogc(8)" (text taken from syslog.conf(5)?
I have everything commented out in syslog.conf(5), except for:
*.* :256:full
And in rc.conf.local(8):
syslogd_flags=-s /var/run/syslogd.sock
You can then read the logs with
$ syslogc -f full
Marcus
> On Wed, 10 Jul 2024 at 17:07, Tom Smyth <[email protected]> wrote:
> >
> > Hi Kirill,
> > Ill give sync a go ... and see how it impacts performance...
> > thanks for the suggestion,
> >
> > On Wed, 10 Jul 2024 at 16:30, Kirill A. Korinsky <[email protected]> wrote:
> > >
> > > On Wed, 10 Jul 2024 14:44:28 +0100,
> > > Tom Smyth <[email protected]> wrote:
> > > >
> > > > #cat /etc/fstab
> > > >
> > > > ff0023511d131fc2.a / ffs rw,softdep,noatime 1 1
> > > > ff0023511d131fc2.b /usr/local ffs rw,wxallowed,nodev,softdep,noatime 1 2
> > > > ff0023511d131fc2.d /var ffs rw,nodev,nosuid,softdep,noatime 1 2
> > > > swap /tmp mfs rw,nosuid,noexec,nodev,-s=262144,-P=/persist-fs/tmp 0 0
> > > > swap /var/log mfs
> > > > rw,nosuid,noexec,nodev,-s=524288,-P=/persist-fs/var/log 0 0
> > > > swap /var/run mfs
> > > > rw,nosuid,noexec,nodev,-s=262144,-P=/persist-fs/var/run 0 0
> > > > swap /dev mfs rw,nosuid,noexec,-P=/persist-fs/dev,-i=2048,-s=32768 0 0
> > > >
> > >
> > > You can dramatically reduce the probability of errors that can't be fixed
> > > by
> > > fsck on boot by adding sync. Especially with noatime, this seems like a
> > > bulletproof setup.
> > >
> > > --
> > > wbr, Kirill
> >
> >
> >
> > --
> > Kindest regards,
> > Tom Smyth.
>
>
>
> --
> Kindest regards,
> Tom Smyth.
>