I'm running the latest OMV on RPI 4b with an external USB dual drive box with BTRFS set to mirror RAID, encrypted with LUKS. The docker containers data and YML files are located on the encrypted drive.
After working fine for a couple of months, out of nowhere my NAS started acting up. All my docker containers got reset and I thought I had lost all my data. It ended up being that the external drives were not mounted, and doing a simple "mount -a" and rebooting all containers fixed the issue.
However, it used to be that after reboot a simple unlock of the drives would get everything running. The docker containers would "wait" for the drive to show up. Now, out of the blue, the containers are already running (on the main disk instead of the external one), with no data, and unlocking LUKS does not initiate a mount. The unlocked disk shows in the list however it shows as unmounted.
I created a temporary script to remount and restart containers, which fixes the issue, however the containers are creating initialization data on my main drive when starting.... which is a huge waste... So I see this as a temporary solution until I find a way to fix this.
Any idea why this behaviour suddenly started? Any idea how I could fix this?