Why is it not recommended to mount upload/ and library/ as separate bind mounts?

See immich docs: https://immich.app/docs/guides/custom-locations/

In the note at the bottom of the page it says

Because of the underlying properties of docker bind mounts, it is not recommended to mount the upload/ and library/ folders as separate bind mounts if they are on the same device. For this reason, we mount the HDD or the network storage (NAS) to /usr/src/app/upload and then mount the folders we want to access under that folder.

I'm trying to save my thumbs to a faster SSD storage and my photo collection to a slower but cheaper SFTP mounted storage box. However I'm running into the same issue that's mentioned here: https://github.com/immich-app/immich/discussions/11944

In the above discussion there wasn't really a good solution but I do still want to go for this as I'd like to have fast thumbs loading from a local disk instead of an sftp mounted disk on an other server location.

So, my question. Why, in that note, it says that it is not recommended to have
upload/
and
library/
on separate bind mounts? I think this could solve my problem if I could do it that way; I'd have 5 different bind mounts:
backups
,
encoded-video
,
library
,
profile
,
thumbs
and
upload
.

I do know some things about docker (we also work with it a lot in my day job) but I can't find any online info on why this would be a bad idea.
Was this page helpful?