Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8062

Troubleshooting • fstab mount for network drive (on Bookworm)

$
0
0
I'm trying to customise a new Bookworm image on my Pi 4 to be as close to my old Buster as possible

All is going well until I try and add a NAS folder to fstab

Copied from Buster I have

Code:

192.168.0.233:/SharedData/!inventory /home/pi/Mona nfs defaults,noatime,nofail,$
Where 192.168.0.233 is the LAN address of my NAS, and I did create the folder "Mona" in /home/pi/

This works fine on Buster, but doesn't mount the folder on Bullseye (and bieng in fstab don't see any error messages either)

All I can remember last time I did this is that it took a LOT of experimeting to get it to work, I don't THINK I added any new software to make it work (but I might have)

I have noticed I can do a manual mount to 192.168.0.233:/SharedData/ Is it the "!" that's throwing things off?

Also, I've noticed that a manual MOUNT requires the trailing "/" in the remote folder name - does fstab require it or not (I think it's missing in my current, Buster, version)

Does anyone have any suggestions on what I can do to troubleshoot?

MANY thanks

Statistics: Posted by philguk — Fri Nov 08, 2024 4:30 pm



Viewing all articles
Browse latest Browse all 8062

Trending Articles