Re: ZWAY server fails at 03:00 regularly
Posted: 11 Jan 2022 19:32
The output from the commands all look normal.
As best as I can tell, you confirmed the problem is not software related. Instead of cloning your old SD card onto your new SD card, you might want to backup your Z-Way using the smarthome and expert UI, do a virgin install of Z-Way onto your new SD card (see: https: //z-wave.me/z-way/download-z-way/), and then restore your Z-Way. I have some concern that data on your old SD card might be corrupted and doing a clean install will provide a known starting point.
If the new SD card doesn't solve the problem, there are some lower-level diagnostics, such as seeing if the kernel has logged any SD card problems (run: dmesg | egrep 'mmc|sdhc') and running strace on a disk-write command (run: time strace dd if=/dev/zero of=/home/pi/test.file bs=64M count=1 oflag=dsync).
If the new SD card solves the problem, it might encourage someone at Z-Wave.me to recommend Pi hardware. For example, I primarily use a Pi 4 with a USB 3.1 240 GB SSD instead of an SD card ($40 at Amazom - https: //www.amazon.com/gp/product/B07PXCYCX1). When I ran the dd command, the times are as follows:
real 0m0.686s
user 0m0.004s
sys 0m0.567s
On a Pi 3 using an SD card, the dd times are as follows:
real 0m4.279s
user 0m0.019s
sys 0m1.318s
Yup, file writes using an SD card were 6 times slower.
Good luck.
As best as I can tell, you confirmed the problem is not software related. Instead of cloning your old SD card onto your new SD card, you might want to backup your Z-Way using the smarthome and expert UI, do a virgin install of Z-Way onto your new SD card (see: https: //z-wave.me/z-way/download-z-way/), and then restore your Z-Way. I have some concern that data on your old SD card might be corrupted and doing a clean install will provide a known starting point.
If the new SD card doesn't solve the problem, there are some lower-level diagnostics, such as seeing if the kernel has logged any SD card problems (run: dmesg | egrep 'mmc|sdhc') and running strace on a disk-write command (run: time strace dd if=/dev/zero of=/home/pi/test.file bs=64M count=1 oflag=dsync).
If the new SD card solves the problem, it might encourage someone at Z-Wave.me to recommend Pi hardware. For example, I primarily use a Pi 4 with a USB 3.1 240 GB SSD instead of an SD card ($40 at Amazom - https: //www.amazon.com/gp/product/B07PXCYCX1). When I ran the dd command, the times are as follows:
real 0m0.686s
user 0m0.004s
sys 0m0.567s
On a Pi 3 using an SD card, the dd times are as follows:
real 0m4.279s
user 0m0.019s
sys 0m1.318s
Yup, file writes using an SD card were 6 times slower.
Good luck.