Jump to content
XPEnology Community

wwright_c

Rookie
  • Posts

    1
  • Joined

  • Last visited

Posts posted by wwright_c

  1. Hi everyone, registered here just to share my Over Engineered workaround, but its working for me

     

    Requirements

    • SSH access to the box
    • Docker (install via package center)

    Not Working/Untested

    • Auto copy

    Instructions / Steps

    1. Follow the guide to get the scripts installed on https://github.com/luckylz2git/exfat-synology
    2. Install Docker
    3. ssh into the box
      1. Elevate to root (su) 
        sudo su
      2. Create a docker network
        docker network create exfat_nfs_share --subnet 172.31.15.0/24 --gateway 172.31.15.1
      3. Obtain the NFS Server docker image
        docker image pull itsthenetwork/nfs-server-alpine:latest

         

      4. Run the docker container
        docker run -d --net exfat_nfs_share --ip 172.31.15.100 --name exfat_nfs --privileged -v /volume1/usbexfat/usbshare1:/nfsshare -e READ_ONLY -e SHARED_DIRECTORY=/nfsshare itsthenetwork/nfs-server-alpine:latest

         

      5. You can close the ssh session now
      6. Login to DSM
      7. Open File Station
      8. Click in Tools > Mount Remote Folder > NFS Shared Folder
      9. Fill the dialog with the follow values and click mount
        Field Value
        Folder 172.31.15.100:/
        Version v4 <= THIS IS MANDATORY
        Transport TCP
        Mount To Click Browse > usbexfat > Create folder "nfs_usbshare1" > Select "nfs_usbshare_1" > Click OK
        Mount Automatically
        on Startup
        Checked
      10. After mounting there will be a new folder,  nfs_usbshare1, under Remote Folder  on the left sidebar.

    This can be used to copy files from the exfat drive into any folder in DSM via the WebUI, I believe that it might also be possible to modify the existing scripts to have a sync running

    Regarding the fact that we're running another nfs server and if you're concerned about security, the container is running nfs on a isolated network visible only to the DSM host and containers running on the same network, it SHOULD NOT interfere with DSM NFS shares / Server

     

    Note: The new share/mountpoint will be READ ONLY as a preventive measure

    Note 2: Wrote this from the top of my head, I might have forgot one or two steps, happy to help if required

    • Thanks 1
×
×
  • Create New...