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

    Kodi NFS Shares

    Scheduled Pinned Locked Moved Help and Support
    9 Posts 3 Posters 4.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.
    • mediamogulM
      mediamogul Global Moderator
      last edited by

      I've been testing Kodi in RetroPie over the weekend to see if it could offer the same amenities found in stand-alone distributioins such as OSMC and OpenElec. After kicking the tires for a few days, it seems that the ability to access NFS shares is the only thing that I've personally noticed as missing. I thought perhaps @Rascas might be able to offer a little insight here, but of course help from any direction is always welcome.

      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

      RascasR 1 Reply Last reply Reply Quote 0
      • RascasR
        Rascas @mediamogul
        last edited by Rascas

        @mediamogul Mines (nfs shares) are defined and mounted at boot via /etc/fstab.
        Than it is just a location for programs, like for example /media/pi/nas/movies etc.

        mediamogulM 1 Reply Last reply Reply Quote 1
        • mediamogulM
          mediamogul Global Moderator @Rascas
          last edited by mediamogul

          @Rascas

          That works for me. Just for future reference, does this implementation of Kodi allow for any similar network protocols like SMB, or is system mounting necessary all the way around?

          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

          1 Reply Last reply Reply Quote 0
          • RascasR
            Rascas
            last edited by

            Sambs shares works without mounting. NFS i think i never tried without mounting.

            1 Reply Last reply Reply Quote 1
            • BuZzB
              BuZz administrators
              last edited by

              It is much more efficient to use kernel cifs driver over the kodi libsmbclient though (less cpu / more throughput) (mount -t cifs -o username=whatever,password=whatever //server/share /mountpoint)

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 1
              • mediamogulM
                mediamogul Global Moderator
                last edited by

                @Rascas, @BuZz

                Throughput is an issue in my house for a number of reasons, so the more efficient the better. Thanks to both of you for your help. Since we're directly talking about Kodi here, I want to throw out an extra thanks to you, Rascas for the work you've done in making this implementation a viable alternative to the stand-alone distributions. I'm a big fan of the software and it's great to see it getting the attention it deserves here.

                RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                1 Reply Last reply Reply Quote 1
                • mediamogulM
                  mediamogul Global Moderator
                  last edited by mediamogul

                  @Rascas, @BuZz

                  I've been trying different things for the past week and I just can't seem to mount an NFS share using the fstab. I've followed multiple guides, but I just can't get anything to work. My current fstab entry is as follows:

                  Server:/path/to/Downloads    /mnt/downloads  nfs rsize=8192,wsize=8192,timeo=14,intr
                  Server:/path/to/Media        /mnt/media nfs  rsize=8192,wsize=8192,timeo=14,intr
                  

                  I can however mount the drives by adding the following to my /etc/rc.local:

                  /etc/init.d/rpcbind start
                  mount Server:/path/to/Downloads /mnt/downloads
                  mount Server:/path/to/Media /mnt/media
                  

                  Is there any downside to mounting this way or is it obvious what is wrong with my fstab?

                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                  1 Reply Last reply Reply Quote 0
                  • mediamogulM
                    mediamogul Global Moderator
                    last edited by mediamogul

                    I must have burned through 30-40 different suggestions online and none of them worked. However, the law of averages being what it is, revealed that the correct entry in this case should read:

                    Server:/path/to/export /local_mountpoint   nfs rw,nolock 0 0
                    

                    RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                    1 Reply Last reply Reply Quote 0
                    • RascasR
                      Rascas
                      last edited by Rascas

                      Maybe its the systemd. This is what I have currently:
                      https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=122066
                      "noauto,x-systemd.automount" in fstab options

                      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.