I have two drives mounted on OMV.
Drive 1. contains directory "a", Drive 2. contains directory "b".
I'd like to share these two directories as one smb share "c", so that
/c
/c/a
/c/b
I was thinking about:
- mkdir /srv/c
- mkdir /srv/c/a
- mkdir /srv/c/b
- fstab:
- /a /srv/c/a none bind 0 0
- /b /srv/c/b none bind 0 0
- mount -a
- in the GUI
- create shared folder with "srv/c"
- create smb share with "srv/c"
As I'm manually dealing with mounts, will this work our could it lead to problem with OMV? Anything to take special care of?
I'm aware with MergerFS the same result could be achieved aswell, however, I'd like to keep more control over the drives and I guess there is no need to introduce an additional filesystem layer for my case.