Hello, Folks,
Im reviewing our filesystem setup for OpenBSD CPEs that we deploy in the
field
in order to minimise the impact of Power Outages / Customer interference on
the boxes,
we install a 4G root partition /
and a 2GB /usr/local (to allow the wxallowed flag for the filesystem)
we use mfs for /tmp and /var so that there the probability that there is a
filessytem write to the SSD is reduced (so that power failures dont cause
file system corruption)
we use the following fstabl
#########begin /etc/fstab/###########
/dev/sd0a / ffs rw 1 1
/dev/sd0d /usr/local ffs rw,wxallowed,nodev 1 1
swap /tmp mfs rw,nosuid,noexec,nodev,-s=256000,-P=/persist-fs/tmp 0 0
swap /var mfs rw,nosuid,noexec,nodev,-s=512000,-P=/persist-fs/var 0 0
swap /dev mfs rw,nosuid,noexec,-P=/persist-fs/dev,-i=2048,-s=102400 0 0
########
No comments:
Post a Comment