Page 5 of 5
Re: NFS Support
Posted: Mon Oct 30, 2023 2:25 am
by PistolsAtDawn
losth1ghway wrote: ↑Sun Oct 29, 2023 10:23 am
today i noticed, after mounting all folders under games/, the update_all script is failing due to a permissions error on /media/fat/games/Apple-I.
it update runs fine if i unmount the shares (via nfs_unmount.sh).
it seems like permissions for Apple-I is set the same as everything else under games as far as I can tell.
Code: Select all
drwxr-xr-x 4 dbus dbus 7 Mar 7 2022 AO486
drwxr-xr-x 2 dbus dbus 2 Mar 7 2022 APOGEE
drwxr-xr-x 2 dbus dbus 2 Feb 20 2020 Apple-I
drwxr-xr-x 3 dbus dbus 4 Mar 7 2022 Apple-II
drwxr-xr-x 2 dbus dbus 2 Mar 7 2022 AQUARIUS
What about the permissions on the server's end? Might be worth a quick chown / chmod.
Re: NFS Support
Posted: Mon Oct 30, 2023 9:05 pm
by Bas
If you have all of games/ coming from NFS, then the mount doesn't treat anything below games any different. It's server-side then: permissions or ownership on the server may be wrong or your NAS is mapping the root user to something weird. Maybe you even run into case sensitivity issues here, not sure, but you might get a wrong error message in that case.. happened to me with Neo Geo at one point.
Re: NFS Support
Posted: Sun Nov 12, 2023 6:30 am
by Antoine.WG
I'm not sure why but an update in the last week broke my nfs_mount.sh script. I had to comment out line 134, which was throwing an error. "done." isn't a valid command.
Re: NFS Support
Posted: Sun Nov 12, 2023 11:14 am
by Bas
Should be when ending a while loop... Strange, will check. To be continued!
Re: NFS Support
Posted: Sun Nov 12, 2023 12:50 pm
by RealLarry
Can't reproduce that. Script is still working fine here.
Re: NFS Support
Posted: Sun Nov 12, 2023 2:14 pm
by Bas
The only thing I could think of is some kind of encoding fudge-up somewhere that would misread the script itself but that's very far-fetched. I pulled it through a few linters and while there is some room for improvement, no such hard errors were apparent. I also can not reproduce.
Re: NFS Support
Posted: Wed Nov 15, 2023 4:46 am
by Antoine.WG
I just went back and uncommented the line and it's working fine now. My FreeNAS has been up and running since I replaced a failed disk 3 weeks ago and I didn't make any changes to NFS or the filesystem settings since the last boot. The only thing I did change was to the SMART tests on 2 VHDs and 3 other disks, none of which were part of the array that my MiSTer share is on and wouldn't affect anything if they were. I hadn't even logged into the VMware hypervisor since the last boot.
Strange.