Network Shares
Network Shares
How to mount SMB network shares in Linux:
If the network share is an SMB share install the cifs-utils support:
| |
Create a mount point:
| |
Create a credentials file:
| |
Put this in it:
| |
Lock it down:
| |
Now add an /etc/fstab entry:
| |
If this mount is for apps, set uid/gid to the service account they run as, for example:
| |
Then test without rebooting:
| |
Useful Checks If it fails:
| |
Check for nfs service
If connections to file server not working - eg getting Input/output error, check connection to nfs server:
| |
If connection refused then check nfs service on nfs server:
| |
Restart the or start the service if it shows errors:
| |