NFS Support

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
User avatar
PistolsAtDawn
Posts: 340
Joined: Fri Feb 18, 2022 7:29 pm
Has thanked: 249 times
Been thanked: 90 times

Re: NFS Support

Unread post 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.

Bas
Top Contributor
Posts: 549
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 70 times
Been thanked: 256 times

Re: NFS Support

Unread post 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.

Antoine.WG
Posts: 33
Joined: Mon Jan 09, 2023 11:30 pm
Has thanked: 24 times
Been thanked: 4 times

Re: NFS Support

Unread post 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.

Bas
Top Contributor
Posts: 549
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 70 times
Been thanked: 256 times

Re: NFS Support

Unread post by Bas »

Should be when ending a while loop... Strange, will check. To be continued!

User avatar
RealLarry
Top Contributor
Posts: 776
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 93 times
Been thanked: 335 times

Re: NFS Support

Unread post by RealLarry »

Can't reproduce that. Script is still working fine here.

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
Bas
Top Contributor
Posts: 549
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 70 times
Been thanked: 256 times

Re: NFS Support

Unread post 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.

Antoine.WG
Posts: 33
Joined: Mon Jan 09, 2023 11:30 pm
Has thanked: 24 times
Been thanked: 4 times

Re: NFS Support

Unread post 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.

Post Reply