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

    Network share Game Saves

    Scheduled Pinned Locked Moved Help and Support
    network share
    5 Posts 2 Posters 414 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.
    • F
      fadingrose
      last edited by

      Good afternoon everyone

      It's been a while since i had a Retropie set up and a bit rusty on the knowledge of Network share Game Saves. I have a Raspberry Pi 4 set up with Retropie and running Roms from the networking is working fine from my Truenas server. I used option 2 Fstab as autostart.sh doesn't seem to work for me.

      What is the process of being able to Save roms to the network as at the moment when i go to save a roms progress the PI locks up and freezes doing nothing else. According to the guide using autostart.sh you replace

      sudo mount -t cifs -o username=something,password=something //REMOTEHOST/path/to/roms /home/pi/RetroPie/roms

      With

      sudo mount -t cifs -o sec=ntlmv2,username=something,rw,file_mode=0777,dir_mode=0777,password=something,nounix,noserverino //REMOTEHOST/path/to/roms /home/pi/RetroPie/roms

      What's the process with Fstab is it similar?

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

        Ensure the rom folders are writable by the pi user, there's no additional entry to be added to /etc/fstab for game saves.

        1 Reply Last reply Reply Quote 0
        • F
          fadingrose
          last edited by

          Thank you for the response

          I jumped onto my Truenas and created a new user pi and also gave it a password and then updated my ACL's for the RetroPie location to give the pi user read/write access and updated the /etc/fstab on the pi to reflect the new new pi user & password and also changed the pi's password to reflect the new password. My fstab entry looks as followed

          //IP/Gaming/RetroPie /home/pi/RetroPie cifs username=pi,password=*****************,nounix,noserverino,defaults,users,exec 0 0

          I presume that should now give me permission to save as i rebooted the pi, restarted samba and checked everything once over and when i try to save it still just flashes the save icon and eventually freezes.

          Am i missing something?

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

            Can the pi user write into the ROMs folder(s) ? Can you test by trying to create a file from the cli in the rom folder, logged in as pi ?
            If that's ok, then get a verbose log and attach it on pastebin.com.

            1 Reply Last reply Reply Quote 0
            • F
              fadingrose
              last edited by

              I solved it, was looking through some of the old documents i had written and came across an old Retropie.txt file i created years ago which i had written myself an old guide on how to set up the network rom shares. In the fstab i had used the following.

              //IP/Gaming/RetroPie /home/pi/RetroPie cifs username=pi,password=***********,uid=3001,gid=3001,nounix,noserverino,rw,user,exec 0 0

              I had totally forgot that i just had to give the pi read/write access to the Gaming dataset and then in fstab i just needed to drop in the uid, gid and rw and it now saves.

              Cheers

              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.