Homegear write operations

Hello,

I’m trying to reduce write operations on my raspberry and already could eliminate some cases.
Now I checked homegear.

sudo iotop -aok

Total DISK READ:         0.00 K/s | Total DISK WRITE:         2.50 K/s
Current DISK READ:       0.00 K/s | Current DISK WRITE:       7.49 K/s
  TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>    COMMAND
   47 be/3 root          0.00 K    336.00 K  0.00 %  0.03 % [jbd2/mmcblk0p2-]
16634 be/4 homegear      0.00 K    376.00 K  0.00 %  0.01 % homegear -u homegear -g homegear -p /var/run/homegear/homegear.pid

It is not the logfile (debugLevel = 3).
Also db.sql is not updated/written.

I tried to capture FS requests using sudo strace -f -e trace=file -p <pid> but nothing is captured.

What are the files homegear is writing to in a regular manner?

Hi @magcode,

only the database and the log files are written to during normal operation. In the readonly image, the database is written to memory and backed up to /data once per hour. The log files are also written to memory. For a working readonly configuration, check Homegear’s readonly Raspbian image.

Cheers,

Sathya

Thanks for the hint. I’ll check the readonly image.