Folks,
sorry to revive an old thread but for OpenBSD Routers in the Field
(where power availability and graceful shutdown / restarts are far
from guaranteed,

we have been using  mfs mounted /var /dev and /tmp for years and it
has been quite successful (a few hundred devices running for a few
years)
and only 1 or 2 failures (attributable to filesystem issues) in that time.

 however  the impact of mfs (/var in particular) on upgrades has been
quite painful,
my latest iteration for fstab is to  have
 / ,  /var /usr/local  and /tmp with different mount points to support
different mount options, (wxallowed for /usr/local)

and to
mfs mount  /var/run,  /var/logs  /dev and /tmp

#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

###################################################
This seems to solve problems with  upgrades and  package updates,

I have left /var/www/logs/  out as we are not using httpd /
webservices  on the boxes in the field

are there other directories that contain files that regularly change
that should be mfs mounted ?


Any thoughts / feedback welcome

Thanks
Tom Smyth



On Sun, 15 Mar 2020 at 15:26, Maurice McCarthy <mansel...@gmail.com> wrote:
>
> There is a discussion about sofdeps here
> http://openbsd-archive.7691.n7.nabble.com/What-are-the-disadvantages-of-soft-updates-td264283.html
>


-- 
Kindest regards,
Tom Smyth.

Reply via email to