(1) "only root can do that ..."
     -- um, yes, generally, only 'root' is allowed to perform
        mount(8) commands
     -- so, you need to become 'root'
          (a) login to the console as 'root', -OR-
          (b) execute the command "su -" and enter root p/w
              when prompted, -OR-
          (c) prefix everything with "sudo" (as you've done in
              earlier messages to this forum

(2) "the extra '/' ..."
     -- you're right, it shouldn't be there ...


(3) Try this command (as 'root'!) to see what the NAS is making
     available to mount with the NFS protocol:

         showmount -e 192.168.0.101


(4) In it's most simple form, the mount(8) command is parsed as

         mount  <device_specification>  <mountpoint>

     "mount" --> the command

     "<device_specification>"  -->  When mounting a partition
          from a local disks the argument will look something
          like "/dev/sda1"/.  When mounting an NFS filesystem,
          it will look like "server:/path".

          In your case, "server" is '192.168.0.101' and the
          "path" is 'Synology'.

     "<mountpoint>"  --> "/media/jjj/Synology".


     So, putting it all together ...

         mount 192.168.0.101:/Synology /media/jjj/Synology



Now -- I see two possible problems ...

(1) The 'path' on the NAS might not by "/Synology".

     This is why I suggest you do the "showmount -e 192.168.0.101".
     It should tell you what path(s) are being exported.


(2) About your local mount point ...

     With all the GUI and hand-holding crap that goes on with
     these modern distros (what in the heck is a 'Thunar' anyway?)
     some areas of the filesystem fall under 'special' management
     [cue Dana Carvey Church Lady voice when you say 'special'].

     "/media" is probably one of those areas ...

     I'd suggest:

             mkdir /synology
/             ... makes a new mount //point/

             mount -t nfs  192.168.0.101:/Synology  /synology
/             ... mounts NAS filesystem onto /synology (assuming
                  we've got the correct name for the path begin
                  exported -- see the "showmount -e 192.168.0.101"
                  results.
/

             df -t nfs
/             ... displays "disk-free" on all mounted filesystems
                  of type (-t) "nfs"/



On 7/11/2016 5:37 PM, John Jason Jordan wrote:
> On Mon, 11 Jul 2016 18:04:41 -0500
> David Fleck <[email protected]> dijo:
>
>> Forgive me if somebody has already posted this link:
>> https://www.synology.com/en-us/knowledgebase/DSM/tutorial/File_Sharing/How_to_access_files_on_Synology_NAS_within_the_local_network_NFS
>>
>> Perhaps there is something in there that will clear up what the
>> configuration issue is.
> Thank you, I had not yet found that.
>
> I read through the whole thing and followed the instructions to the
> letter, but I still get 'access denied by server.'
>
> I should add that their instructions say the mount command should be
> (copied and pasted):
>
>       mount [Synology NAS IP address] : [mount path of shared
>       folder] / [mount point on NFS client]
>
> Thus my command should be
>
>       mount 192.168.0.101:Synology / /media/jjj/Synology
>
> Note the extra / between the source and the destination. If I add it
> the mount command fails completely and displays help information. The
> extra / can't be right.
>
> And when I try it without the extra / it generates 'only root can do
> that.' If I preface it with sudo or do sudo su to root, then I get
> 'access denied by server.'
>
> At the very end of the instructions it says "Can't mount the shared
> folder? The user account you enter here must have access privileges for
> the shared folder that you wish to map." I'm not sure where 'here' is,
> the NAS or my command line? In any event, when I initially set up the
> NAS with the Synology DiskStation Manager it came with an admin and a
> guest account and I added an account 'jjj.' I gave all of them every
> permission I could find.
>
> I recently discovered a user forum on Synology's website. My next
> effort wll be to post my tale of woe there.
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to