Network share Game Saves
-
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?
-
Ensure the rom folders are writable by the
pi
user, there's no additional entry to be added to/etc/fstab
for game saves. -
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?
-
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 aspi
?
If that's ok, then get a verbose log and attach it on pastebin.com. -
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
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.