[SOLVED] /var/lib/openhab2 gone

That’s simply wrong. It skips properly shutting down the running services.

As zram dirs should be synced to disk when you properly shutdown this is the state you should find the dirs in.