Issue with writing to disk/db in HA in VM

(hopefully this is the right place).

Running HASS OS 5.13, HA 2021.5.5.in a VMWare 16 virtual machine.
Home Assistant has been running really well for the past six months or so on an Intel nuc in a VMWare virtual machine on Windows 10. I originally tried to install hassio directly on the machine but couldn’t figure out how to do so and VMware gives me a bit more flexibility.

A few weeks back I installed grafana and InfluxDB. Are then due to some renovations the nuc was disconnected from the power and then when I tried to boot the vm there were all sorts of errors and it wouldn’t boot. So I went back to an older snapshot in VMware (thus the flexibility comment above). But since the last 2021.4.x, after a few days I’m having problems with the following sorts of messages. Doesn’t seem to be able to write to the disk properly:
SQLAlchemyError error processing event <Event time_changed[L]: now=2021-05-24T13:29:03.002341+12:00>: This connection is on an inactive transaction. Please rollback() fully before proceeding. (Background on this error at: http://sqlalche.me/e/14/8s2a)
1:30:06 PM – (ERROR) Recorder - message first occurred at May 23, 2021, 8:59:27 PM and shows up 8740 times
Error in database connectivity during commit: Error executing query: (sqlite3.OperationalError) disk I/O error (Background on this error at: http://sqlalche.me/e/14/e3q8). (retrying in 3 seconds)
1:30:03 PM – (ERROR) Recorder - message first occurred at May 23, 2021, 8:59:24 PM and shows up 8740 times
Error writing config for zha.storage: [Errno 30] Read-only file system: ‘/config/.storage/tmphx8pi6ob’
1:24:44 PM – (ERROR) helpers/storage.py - message first occurred at May 23, 2021, 9:04:38 PM and shows up 224 times
Saving JSON file failed: /config/.storage/hacs/172733314.hacs
1:24:44 PM – (ERROR) util/json.py - message first occurred at May 23, 2021, 9:04:38 PM and shows up 224 times

In HA on VM Ware I can see this:

So looks like the disk becomes read-only which explains the issues above. Doesn’t explain how it happened.

If I restart HA from within HA (via server controls) it won’t restart. So then I turn the machine off in VMware and start again and all is well again for a few more days. Or now tried Reboot Host which works.

What could be causing this and how can I fix it?

Thanks,
Stefan