Share remote mounts over samba

  • Hello,
    I have rclone installed on my OMV, through rclone, I have a fuse-mounted google drive in /mnt/gdrive mountpoint.
    I would like to share this mountpoint further through cifs/samba. With SSHFS this works like a charm, but I would like to have this also windows friendly.

    Is it possible? You cannot create a normal shared folder since that folder requires device etc. I did not test it, but Iam confident that this should be possible through the cifs daemon and just gui does not support it. But since OMV gui is tightly tied to the smb.conf file I dont know how to go about it.

    I know rclone has a windows build and can think of reasons why it might be better to have an rclone instance on each computer. But since there is also some encryption related in rclone and I have also some other reasons. I would like to be able to make it a normal share for other computers.

    Thanks for any suggestions!

  • You could create shared folder and then bind mount it to your remote mount. Otherwise, create a file (probably named 21remote) in /usr/share/openmediavault/mkfconf/samba.d/ to create your share every time there is a change to samba.

    omv 5.5.11 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.6 plugins source code and issue tracker - github

    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • You could create shared folder and then bind mount it to your remote mount.


    I have a similar scenario. I read the above but not sure how to do this.
    Can anyone help with a step by step example? (how to create share folder and bind mount it via cli)


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!