I am pretty new to Raspberry and Linux stuff, please consider this.
I'm having issues using a RPi4 with OMV5. When I mount my 2 encrypted drives and then reboot OMV, it takes a while because mounting the filesystem is timing out (obviously, because the drives are locked when rebooting the RPi). But the system boots and I can access the GUI. Then I unlock the drives and I can mount the filesystems in GUI. I added x-systemd.device-timeout to the drives in /etc/openmediavault/config.xml and then did omv-salt deploy run fstab to save this.
After creating a pool with UnionFileSystem it mounts and shows it correctly in GUI. But after restarting OMV the RPi boots to emergency mode.
I followed the instructions on this site at "4.1" but without SnapRaid.
I don't know, how I show you the logfiles. If you need them, please tell me, how I can do that.
I'm looking forward to your help. Thanks in advance!
Edit: after deleting the entries in fstab it boots again, but I can't mount the pool. I got some logs, I hope it helps.