Description:
To be careful to changes and details - is a right way to solve any problem. Long story short. I changed RAID-1 on my ORICO 9528RU3 to JBOD and after a couple of days my automation tasks started failing.
The main reason: RAID-1 virtual device had time to initialize, but two JBOD drives initialize a little longer (one of them for sure) and this led to the problem.
Error message:
zio pool=orico1_vms vdev=/dev/vg_orico1/lv_zfs_vms error=5 type=1 offset=1058876243968 size=4096 flags=180880
To fix this I just added udev rule to dracut (earliest boot stage):
ACTION=="add", SUBSYSTEM=="block", RUN+="/bin/sh -c 'echo 300 > /sys/$DEVPATH/device/timeout'"