If you are using pfsense, then that is a dhcp server I have run for years. I have no idea why your system takes a long time to get an address. There are lot of pieces here. I don't know the right place to "fix" this. Many people would probably say I need to write a better mount file for remotemounts. Since I don't have this issue on my network, I don't have a good way to determine what that is. I am open to suggestions but I don't need a "bug" report for it. I also don't have time (or patience) to try and get enough info from a system I don't own by forum posts or github issues. This plugin was originally written with the goal of just doing backups to a remote mount that was always available on an OMV system that wasn't shutdown often. People use it for just about anything now and it is almost impossible for me to come up with dependencies that make it work generically.
Understood. My OMV system boots in about 3 seconds (it runs off fast NVMe storage in a modern computer with 16GB of RAM), and I don't think there is any issue with pfSense and it's DHCP server, the problem is probably with Debian/systemd since a static IP doesn't demonstrate any issues with CIFS remote mounts. What I'll do is find another distro and replicate my setup there and when I reproduce the bug, I'll hopefully find someone else in another open source project who's receptive to getting to the bottom of it.