log2ram support

  • New to LibreELEC, but not OSMC. Am configuring a new RPi4 libreElec on 9.1.002. Tried to install log2ram, which failed completely, since all directories it needs write access to are read only. Is log2ram functionality a benefit under LibreELEC? (and if not, other suggestions as to reducing SSD writes under this OS, if not log2ram?). Thanks.

  • I would like to think (!!!?!?!) that surely these guys are already doing whatever they can, to reduce SDCard utilisation in LibreElec.

    Perhaps I'm wrong though - I do have a weekly job set up to back up my SDCard in full, so I can just 'burn' a new one in 5 minutes for $10 and I'm done - I even keep a spare.

  • You realise that on anything with 1GB+ RAM we already load the entire OS into RAM? .. and the amount of read/write generated by Kodi on /storage is not particularly high - not high enough to make those solutions worth chasing.

  • /var (and thus /var/log) are already in RAM so log2ram won't provide any benefit. Also note that by default the systemd journal is only kept in RAM (without being written to /var/log/journal) unless you add "debugging" to the kernel command line - which enables permanent journal logging to /storage.


    Kodi's log (/storage/.kodi/temp/kodi.log) will always be written to SD card (though that's not too many writes, unless you enable debug logging in kodi).


    so long,


    Hias