same boat I have over 30Tb worth of steam games in my library and within the last year of me last using it has become broken , there goes my once a year holiday of gaming ..
what has got me is I do have exec permissions
also tried tricking the check with
mount -o bind /mountednetworkfolder /localdrivefolder
with no success
tried other fstab options with cifs and nfs as well
a decade ago when I used to own a cyber cafe we had no such issues I had 50 clients running from the same file system
I dont have that much lol :D , but this miniPC only has 250GB of storage so it would be good if i could put the majority of the library onto my NAS...
It looks like you already have Steam games on the share? Did Steam install them there previously or did you just copy/move them to there? Rhetorical, I don't want to know =)
First you need to make sure Steam can do what it needs to do and have it install a game to it. If it can't then its definitely not going to read from it.
If it can install to it then it should be able to read from it since it can install to it. Other than incorrect settings anyway.
You should be able to adapt the Steam OS samba share guide which has differences to your way: https://steamcommunity.com/sharedfiles/filedetails/?id=407004166
It looks like your problem with exec is because something isn't configured correctly for it to be able to.
I can launch one of the server backups from the same share so no issues with exec. Also the "dir_mode=0777,file_mode=0777,uid=1000,gid=1000" options make sure there are no permission issues. As far as programs can see all the files/folders appear as if they belong to my local user.
I has this too
I know this thread has been kinda dead, but the issue still occures and I did find a workaround (tho that might have other, unintended consequences, some games that launch, if stored locally work, while they don't work from my NAS)
HOSTNAME/IP@USERNAME:/REMOTESHARE /LOCALSHARE fuse.sshfs _netdev,user,exec,idmap=user,follow_symlinks,identityfile=/home/USER/.ssh/id_rsa,allow_other,default_permissions,uid=1000,gid=1000,umask=022 0 0
This does let me create and access remote shares.
Obviously this doesn't use cifs and instead sshfs, and there might be a performance penalty for it. and it relies on your nas running on a machine that does support sshfs ontop of smb
I couldn't add an old library using the menu (complained about no exec) so I edited the file manually.
It also complains about SteamVR install path every start-up.
I had to force the SAMBA server to case sensitive or else it would freak out over SteamApps vs steamapps folder as well...
But then game updating was totally broken.
A workaround for me was to bind mount the downloading and shadercache folders to my local disk, I think this issue might be related to #5788
Trying to install MSFS 2020
GameAction [AppID 1250410, ActionID 1] : InstallApps changed task to CreateNextApp with ""
GameAction [AppID 1250410, ActionID 1] : InstallApps failed with AppError_11 with ""
This is if I try to install from root of my nVME. But if I choose a folder more deep into my nVME who already has the game, Steam try to update it just fine, producing other kind of errors about missing files, but not about location
Joining in to agree with @JoelLinn's findings.
Here's my sample /etc/fstab mount configuration
//smbshare-ip/directory /mnt/smbshare cifs credentials=/home/user/.smbcredentials,vers=3.0,uid=1000,gid=1000 0 0
/opt/steam/downloading /mnt/smbshare/steamlibrary/steamapps/downloading none defaults,bind 0 0
/opt/steam/shadercache /mnt/smbshare/steamlibrary/steamapps/shadercache none defaults,bind 0 0
Here's a portion of the content_log.txt log file demonstrating what's going wrong - though I think this could use more debugging statements (game being updated here is DemonCrawl).
2021-10-08 22:14:14] Downloading 99 chunks from depot 1141222
[2021-10-08 22:14:14] Created ipv4-only http client
[2021-10-08 22:14:14] HTTP (CDN,35) - google.cdn.steampipe.steamcontent.com (0.0.0.0:0 / 0.0.0.0:0, host: google.cdn.steampipe.steamcontent.com): AuthenticateDepotID (1141222) - Success!
[2021-10-08 22:14:15] Failed to write chunk in file "assets\assets\bg\hero_trial7.png", 23830 bytes at offset 0 (Write Failed)
[2021-10-08 22:14:15] AppID 1141220 update canceled : Failed updating depot 1141222 while writing chunk, offset 0 (Write Failed) (Disk write failure) "/mnt/nasdrive/steamlibrary/steamapps/downloading/1141220/assets/assets/bg/hero_trial7.png"
[2021-10-08 22:14:15] AppID 1141220 update changed : Running,Downloading,Staging,Stopping,
[2021-10-08 22:14:16] AppID 1141220 update changed : Running,Stopping,
[2021-10-08 22:14:16] AppID 1141220 update changed : None
[2021-10-08 22:14:16] AppID 1141220 state changed : Update Required,Fully Installed,Update Queued,Update Started, (Disk write failure)
[2021-10-08 22:14:16] AppID 1141220 state changed : Update Required,Fully Installed,Update Paused,Update Started,
[2021-10-08 22:14:16] AppID 1141220 scheduler finished : removed from schedule (result Disk write failure, state 0x606)
Being able to run a shared library off a NAS is extremely convenient between PC's and Operating Systems.
Works with Windows but took about 4 hours to figure it out in Linux.
Couldn't write /boot/efi/.steam_exec_test.sh: Permission denied
Installing breakpad exception handler for appid(steam)/version(1647446817)
Installing breakpad exception handler for appid(steam)/version(1647446817)
sh: 1: /media/share/SteamLibrary/.steam_exec_test.sh: not found
Failed system("/media/share/SteamLibrary/.steam_exec_test.sh") in execute test: 32512
I'm concerned it's trying to write to /boot/efi
Initial error message is "Steam library folder is not executable" if I touch .steam_exec_test.sh the error becomes "Failed to add library Steam folder"
I fixed it with a solution suggested from 2013. case sensitive = yes in smb.conf. Games are now detected.
Games couldn't be launched, discovered I had to add mfsymlinksto fstab.
Couldn't install games DISK WRITE ERROR. I could use windows to install games, or use mount bind to point the download directory to a local disk which would probably handle updates as well. The worst part that remains is preallocation.
I am having this issue as well on my Steam Deck. Worse yet is Steam is using the network drive to update games stored locally causing those updates to fail as well. Has any progress been made on this?
I'm using steamcmd on linux for rust/arma3 servers and I'm having the same problem. I can't install game servers on a samba share due to an error that occurs during preallocation.
I'm having the same problem, Valve please fix :)
adding the nocase option to my fstab for my cifs.mount fixed it for me
adding the nocase option to my fstab for my cifs.mount fixed it for me
I can confirm, this did the trick.
Nothing extracted yet.
Your system information
Please describe your issue in as much detail as possible:
Wanted to store my library on a NAS, so i made a folder on one of the share's(its a samba share) then mounted it using fstab with these options:
exec,vers=3.0,rw,credentials=/home/<user>/.smbcredentials,iocharset=utf8,dir_mode=0777,file_mode=0777,uid=1000,gid=1000,auto 0 0The pointed steam to that folder but it complains that it failed to add new steam library folder and i get this in console:
sh: 1: /mnt/DS416_Data_2/Games/Zbox-Games-Steam/.steam_exec_test.sh: not foundIf i try to add it again then it complains about execute permission but get the same error as above in terminal.
Steps for reproducing this issue: