I’m about to move away from Google, and I am redoing my self-hosting setup.

Right now, I’m running unRAID and Virtual DSM (Docker).

However, one thing that somehow bothers me, is, that all DSM files reside on a virtual disk, which is passed to the Docker container.

To access these files, I created a share synology, exported it via SMB in unRAID, and used mount -t nfs 172.17.0.2:/volume1/homes/xxx /mnt/user/synology to mount the files from the DSM docker container onto the share. This way I can access them via SMB from within the LAN.

My idea was to have a share in unRAID, and have that mounted into DSM. So exactly the opposite of what I’m doing now. This however works only partially. The mounted share only shows up in File Station, but not in Synology Drive. I went so far to ssh into DSM and tried to mount the share manually AND using mount --bind to mount it inside the users home folder, but without luck. When doing so, Synology Drive wouldn’t let me interact at all. Not even when mounting it onto a sub-dir within the users home-directory.

Did anyone else have this same crazy idea and managed to solve it?

  • @RotaryKeyboard
    link
    English
    18 months ago

    Thank you for going to the extra trouble to explain this! This is why I love communities like this.