RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Trying to mount roms folder from a Synology NAS using NFS

    Scheduled Pinned Locked Moved Help and Support
    nassynologyretropiemountnfs
    13 Posts 4 Posters 2.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ZangdaarrZ
      Zangdaarr
      last edited by

      I am trying to mount my roms from my Synology NAS and all I got in response is a "access denied".

      Here is my config on the NAS side (I created a Retropie user but with NFS I feel it's useless):

      Screenshot 2021-11-21 13.55.56.png

      Screenshot 2021-11-21 13.56.14.png

      Screenshot 2021-11-21 13.56.07.png

      And here is trying to mount:

      Screenshot 2021-11-21 13.56.41.png

      Where does the issue comes from ?

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by mitu

        Your screenshot where you add NFS permissions shows an IPv6 address, while the error in the mount command references an IPv4 network address - seems to me you've not allowed access to the share for RetroPie's IPv4 address.

        1 Reply Last reply Reply Quote 0
        • GreyAreaUKG
          GreyAreaUK
          last edited by

          Since you have 'Enable advanced share permissions' ticked, make sure you go into them and make sure the permissions are correctly set in there. My recollection is that the permissions there override the 'normal' permissions, and are unset by default.

          Might be wrong, but worth a check.

          1 Reply Last reply Reply Quote 0
          • ZangdaarrZ
            Zangdaarr
            last edited by

            I tried with the ipv6 and also the network alias "retropie" and both failed. I did not find how to get the ipv4 address for my retropie (and it's a bit upseting, in the past ipconfig was giving it)

            However on the mobaXterm screenshot, the ip is the one of my NAS, not the one of the pi. From my understanding, the NAS should receive a request from the provided ipv6 and accept it. It doesn't

            @ GreyAreaUK: I removed it since

            I also tried with cifs (using the retropie user created on the NAS) and it seems to work, except it does not find the <nasip>:/volume1/RetropieRoms folder (which exist and is case consistent)

            GreyAreaUKG mituM 2 Replies Last reply Reply Quote 0
            • GreyAreaUKG
              GreyAreaUK @Zangdaarr
              last edited by GreyAreaUK

              @zangdaarr ah - try removing the 'volume1' aspect of the path. I don't think that's actually visible outside the NAS itself.

              Edit: although to be clear, I don't think I've ever manually mounted a share from my Synology via the command line, so I could well be wrong.

              1 Reply Last reply Reply Quote 0
              • windgW
                windg
                last edited by

                Does the router firewall affect the process ?
                With ifconfig from terminal you can see the ip.

                My English isn't at a good level.

                1 Reply Last reply Reply Quote 0
                • GreyAreaUKG
                  GreyAreaUK
                  last edited by GreyAreaUK

                  Try instead:

                  sudo mount -t cifs -o username=admin,password=password //10.1.1.30/RetropieRoms /home/pi/RetroPie/roms2

                  and replace your username/password and IP with the correct values for you. And I created a 'roms2' folder for testing.

                  Disclaimer: just tried it here on my own Synology. Seemed to work.

                  ZangdaarrZ 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Zangdaarr
                    last edited by

                    @zangdaarr said in Trying to mount roms folder from a Synology NAS using NFS:

                    and it's a bit upseting, in the past ipconfig was giving it)

                    Hm, if only there was a Show IP menu that would should you the address...
                    On Linux, there's no ipconfig, the corresponding command is ifconfig or ip -4 addr ls.

                    ZangdaarrZ 1 Reply Last reply Reply Quote 0
                    • ZangdaarrZ
                      Zangdaarr @mitu
                      last edited by Zangdaarr

                      @mitu I am not sure if your being sarcastic or not :D

                      I should be able to find the ipv4 address with the network mapping but I do not find the option in my windows settings.
                      ping always gave me the ipv4 address, I do not know why it suddenly changed.

                      Edit: found it: ping hostname -4

                      mituM 1 Reply Last reply Reply Quote 0
                      • ZangdaarrZ
                        Zangdaarr @GreyAreaUK
                        last edited by Zangdaarr

                        @greyareauk

                        Do you know why it does that ?

                        f3b8a7c6-961a-4d94-82f7-498ace75f165-image.png

                        This one worked, don't really understand the difference between the two, and why it asked me for the password again

                        9b5955d8-1d12-4773-a11f-84ff55c8ba36-image.png

                        However, I'd like to understand what's the issue with NFS is

                        Edit: I understood it, unix does not like spaces between options. Both commands are working fine

                        ZangdaarrZ 1 Reply Last reply Reply Quote 0
                        • ZangdaarrZ
                          Zangdaarr @Zangdaarr
                          last edited by Zangdaarr

                          Fount it. For retropie:

                          • Do not enable asynchronous connections

                          • Even if the NAS allow for nfs v4, retropie won't allow it, so you need to use the nfsvers=3 option

                          1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator @Zangdaarr
                            last edited by mitu

                            @zangdaarr said in Trying to mount roms folder from a Synology NAS using NFS:

                            I am not sure if your being sarcastic or not :D

                            I kind of was. You have a menu in the RetroPie system which is titled Show IP, which does exactly that - displays the network address of your RetroPie system.

                            Glad you got it sorted out in the end.

                            ZangdaarrZ 1 Reply Last reply Reply Quote 0
                            • ZangdaarrZ
                              Zangdaarr @mitu
                              last edited by

                              @mitu said in Trying to mount roms folder from a Synology NAS using NFS:

                              kind of was. You have a menu in the RetroPie system which is titled Show IP, which does exactly that - displays the network address of your RetroPie system.
                              Glad you got it sorted out in the end.

                              Well I didn't know it ! Thanks for letting me know :)

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.