Eventually found this1 my d-link nas is a tricky fellow, when you enable mounting (so I can rsync my music from other linux boxes on the network) there is a "hidden" menu that shows you what the real path is that you need to mount to... previously using cifs on my other NAS this was not an issue... I could do
mount -t cifs //LINKSTATION/share /mnt/share -o ip=192.168.1.65
at least that was the note I made for myself, possibly
mount -t cifs 192.168.1.65/share /mnt/share
would have worked just as well. On the new NAS everything is in /Volume_1 instead so I thought
root@debianlaptop:~# mount.nfs -w 192.168.1.71:/Volume_1 /mnt/share
BUT NO! There's a secret path!
The correct solution is as follows: Under Account Management > Network Shares, when you set up the share for NFS access a little icon appears in the Network Shares Settings table in the NFS column in the row for that share. Although it does not appear to be a link, clicking the icon brings up a pop-up window with the settings for that share. The critical item here is the string labelled "Real Path"; this is the string that needs to follow the host name.
As an example, if your DNS-325 has a host name of "nas" and you are sharing "Volume_1/nfs". The correct string (at least on my box) to mount the share on Linux is "nas:/mnt/HD/HD_a2/nfs" and on the Mac is "nfs://nas/mnt/HD/HD_a2/nfs". I suspect the "/mnt/HD/HD_a2/" part is dependent on how the disks are configured so be sure to look up the correct string for the share on your own DNS-325.
So the answer (for me) was
mount.nfs -w 192.168.1.71:/mnt/HD/HD_a2 /mnt/share
This now makes it look as if the NAS (where all the music and pictures and TV and films are) is a local drive on the laptop, while I'm on the network. So I'll set up a job to synchronise with the laptop's real hard drive.
⬅️ We're still looking for four or five people like me :: Kinda lazy weekend, kinda not ➡️
Paul Clarkeʼs weblog - I live in Hythe in the deep South. Wed to Clare + father to two, I'm a full-stack web engineer, + I do js / Node, some ruby, python, php etc. I like pubs, running, eating, home automation + other diy jiggery-pokery, history, genealogy, Television, squirrels, pirates, lego, + TIME TRAVEL.