/var RAM disk

Started by GreenMatter, June 22, 2020, 07:35:37 PM

Previous topic - Next topic
How good or bad is enabling /var RAM disk?
I realize that content of /var:
root@OPNsense:~ # ls /var
account      authpf      captiveportal   db      etc      heimdal      mail      preserve   spool      unbound
at      backups      crash      dhcpd      games      lib      msgs      run      squid      yp
audit      cache      cron      empty      haproxy      log      netflow      rwho      tmp

will be lost / recreated upon reboot. Is it harmful?
OPNsense on:
Intel(R) Xeon(R) E-2278G CPU @ 3.40GHz (4 cores)
8 GB RAM
50 GB HDD
and plenty of vlans ;-)

I have it active. You will lose log files and so on by a reboot. Because of that, I have an external Syslog Server, where all logs are pushed.

Thanks, I will give it a try - do the same with syslog. I expect Sensei won't be completely happy because of that, let see it!
OPNsense on:
Intel(R) Xeon(R) E-2278G CPU @ 3.40GHz (4 cores)
8 GB RAM
50 GB HDD
and plenty of vlans ;-)