OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: GreenMatter on June 22, 2020, 07:35:37 PM

Title: /var RAM disk
Post by: GreenMatter on June 22, 2020, 07:35:37 PM
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?
Title: Re: /var RAM disk
Post by: c-mu on June 23, 2020, 01:50:51 PM
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.
Title: Re: /var RAM disk
Post by: GreenMatter on June 23, 2020, 06:28:26 PM
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!