SuperITMan links
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
How to create a symbolic link to a folder on a Synology NAS – albertogonzalez.net https://www.albertogonzalez.net/how-to-create-a-symbolic-link-to-a-folder-on-a-synology-nas/
Thu May 7 11:45:21 2020
QRCode
cluster icon
  • Synology Docker Media Server avec Traefik, Docker Compose et Cloudflare - Media Centerz :
  • What can I do if someone doesn't appear in the People album? - Synology Knowledge Center :
  • Synology: 30 Seconds Unifi Controller 6 Install – Marius Hosting :
  • Accéder à Home Assistant de l'extérieur avec reverse proxy Synology et certificat SSL ? : Tutoriel expliquant comment configurer DSM & Home-Assistant pour utiliser DSM en tant que reverse proxy avec certificat https.
  • SynoCommunity Packages : Packages maintained a community for the Synology DSM

Using mount command

Maybe your first option would be to use the ln command but I’m sorry to say that it will maybe not work properly because the access to symbolic links via Samba/FTP is disabled on the NAS for security reasons and I haven’t found a way to enable it. So the symbolic link might work in some cases, such as using an UPnP client or on the DS audio app, but not from the DS file app or on File Station.

Having said that, a better solution is to use the mount command. For using it we will access to the Synology NAS via your preferred Telnet/SSH client. I use the ssh command on a Mac Terminal window.

ssh admin@<NAS IP Address>
Copy

And then, assuming that the source folder you want to link is /volume1/music and the “symbolic link” folder you want to create is /volume2/share/music

mkdir /volume2/share/music
sudo mount --bind /volume1/music /volume2/share/music
Copy

Permanent solution

However, this symbolic link will only work until the NAS is restarted. If you want the folder to be mounted every time the NAS is restarded you should edit the /etc/rc.local file adding the mount command line.

sudo vi /etc/rc.local
sudo mount --bind /volume1/music /volume2/share/music

synology
874 links, including 81 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn