On my RASPBERRY I am using ZRAM.
After some time I decided to stop using ZRAM, and selected in the OPENHABIAN-CONFIG–>30 System Settings–>Uninstall ZRAM
I received the following error message:
A not supported option was selected (probably a programming error): " | Uninstall ZRAM"
How can I stop using ZRAM ?
I dug into openhabian-config and noticed that the uninstall for zram can be done manual using the following:
service zram-config stop
systemctl disable zram-config
echo "zram-config is uninstalled, removing the uninstaller in progress"
rm -rf /usr/local/share/zram-config
rm -rf /usr/local/lib/zram-config
echo "##### Reboot isn't needed #####"
Running as root (sudo)
Probably the call between the menu and the script is …out-of-sync.
Right, a patch is on it’s way.
Any particular reason to uninstall ZRAM?
Have you checked back with the latest update of ZRAM status - Tutorials & Examples - openHAB Community
The reason for me to stop using ZRAM is the fact that the usage can cause corruption.
But after reading the article, you pointed me to, I see that only logging is managed in RAM, so no real data is affected when an inproper shutdown should occur. Also database corruption, as I am using InfluxDB, is not a danger.
As I have a dedicated raspberry 4B with 4GB of RAM, the usage of ZRAM could be reconsidered.
Thanks for clearifying the ZRAM feature to me.