It is impossible to suggest a one-size-fits-all as each and every use case is different.
- [root tip] [How To] Share data using NFS
- [root tip] [How To] Basic Samba Setup and Troubleshooting
- [root tip] [How To] Mount partition using fstab
- [root tip] [How To] Use systemd to mount ANY device
- [root tip] [How To] systemd mount unit samples
- [root tip] [How To] [Utility script] GIO mount samba share
If samba doesn’t share as expected or stops working it is likely a local issue - it is very rare an upstream issue causes it - but that happens e.g. when SMB1 was disabled and renamed to NT1.
If samba stops working - check your setup
- find out if something changed upstream
- do you have apparmor running?
- do you have selinux running?
- did you change firewall?
If you cannot get up and running
- check your smb.conf
- do not plaster the config with defaults
- only add what differs from default
- do not use every suggestion you find on the internet
- they are usually only valid for the issue you read about
- check filesystem permissions
- check your shares
- check your privileges
- check your local permissions
- check server permissions
- if you are using a router
- check the service on the router
- did the firmware autoupdate
- try rebooting the router