[PLUG] Mounting Synology

John Jason Jordan johnxj at gmx.com
Sat Apr 15 20:12:22 UTC 2017


My 2-bay Synology NAS (DS216j) would mount automatically because I had
this line in fstab:

192.168.1.115:/volume1/Synology /media/jjj/Synology nfs auto,user 0 0

Today I removed the sole drive from the Synology and replaced it with
two new 8TB WD red pro drives. Using the Synology web manager I fumbled
around for a long time, but finally got them set up as Raid 0. I gave
the volume the name Synology, and it is volume 1 (the only volume).

The computer is Xubuntu 14.04 up to date. My usual file management is
with Thunar, the default GUI file manager for Xfce. I have Thunar set
up with a left bar which has at the top 'Devices' where the Synology is
listed along with File System, plus any other external drives.
Unmounted drives are grayed out, but clicking on the drive
automatically mounts it. However, I did not need to do this with the
Synology because the fstab line always mounted it on boot.

Having set up the Synology with the new drives I clicked on Synology in
Thunar praying that it would 'just work' and display no files. But
instead I got a complete list of all the files on the old drive, now
sitting on a shelf. That made no sense, so I used Thunar to navigate
to /media/jjj/Synology. Again I got a complete file list, but by
right-clicking on the Synology folder and selecting Properties I saw
that the entire folder was 2.47GB, ridiculous as the old drive had
4.5TB of data on it. At this point I renamed /media/jjj/Synology
to ...SynologyOld, and then created a new Synology folder. This time
Thunar showed no files in the new folder.

So then I tried to mount it from the command line:

sudo mount 192.168.1.115:/volume1/Synology /media/jjj/Synology
mount.nfs: access denied by server while mounting
192.168.1.115:/volume1/Synology

I tried setting up nfs permissions on the Synology, but so far this has
failed. Nevertheless I can get into the Synology from both my laptop
and my desktop using (from the bottom of the left bar in Thunar) Browse
Network. This listed 'Synology (File Sharing)' and clicking on it
displayed the volume on the Synology. I confirmed that this worked by
dragging a small text file to the Synology volume with the laptop, then
refreshing the view on the desktop, and the file appeared.

Thunar is not very forthcoming with information about what it is doing
here. If I click on 'Synology' at the top of the left bar I get the
error message as from the command line above. Yet if I use 'Browse
Network' from the bottom of the left tab it can display the Synology
volume which I can then manage the same as any other folder. How it
does this, apparently without mounting the Synology volume, is a
mystery.

The problem is that my rsync command won't work unless the volume is
normally mounted:

jjj at Devil-Bonobo:~$ rsync -rptog --delete
--exclude-from=/media/jjj/Movies/rsync_exclusions /media/jjj/Movies/ /media/jjj/Synology

Now that I have the Synology configured with its new drives I want to
use the rsync command to back up the USB drive at /media/jjj/Movies to
the Synology. I need some clues!



More information about the PLUG mailing list