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

    Problem mounting network share

    Scheduled Pinned Locked Moved Help and Support
    network sharesamba share
    5 Posts 2 Posters 582 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.
    • R
      robmcc83
      last edited by

      Hi all.
      I'm using a raspberry pi 3 with 64gb SD Samsung Evo with official power supply.
      I have it housed in a retroflag snespi case.
      I have a 32gb SD for Kodi and a 64gb for my retropie which I just swap out for some gaming fun.

      My libreelec Kodi 32gb setup, is setup in a way that I mount my external HD that is connected to my internet router to the pi using cifs.
      Following libreelec wiki for mounting network shares this works fine.

      Now my cd based rom collection is getting bigger now almost filling my 64gb retropie SD card.

      So I've followed the wiki for mounting network shares but it doesn't seem to work (well it sort of does).
      I've added the line to autostart.sh that matches the information for my network share rebooted and the share is not mounted, but if if I ssh into my retropie and enter that line, then hit enter on my keyboard it mounts just fine, but then on next reboot it's no longer mounted.
      It appears it's not mounting the drive from the autostart.sh

      I've tried wait for network at boot but that also doesn't help.

      Anyone no what could be wrong here.
      Thanks in advance
      Rob

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

        @robmcc83 What's the line you're using in autostart.sh ? If you exit ES, do you see any errors on the terminal related to the mount command ?

        R 1 Reply Last reply Reply Quote 0
        • R
          robmcc83 @mitu
          last edited by

          @mitu
          I am using this line

          sudo mount -t cifs -o username=USERNAME,password=PASSWD,nounix,noserverino,vers=1.0 //192.168.1.254/Share/roms /home/pi/RetroPie/roms

          And no errors when exiting emulation station to terminal.

          Thanks

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

            @robmcc83 After you run the command manually, you say it works, but can the pi user access the folder ?
            Can you reboot, exit ES, then run mount and post the output ?

            R 1 Reply Last reply Reply Quote 0
            • R
              robmcc83 @mitu
              last edited by

              @mitu
              Yes I can access the share no problem if I mount it manually with the pi user. It's just not mounting at boot.
              I'll have a check of mount later as I'm out all day.
              Thanks
              Rob

              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.