Mounting Samba shares persistently during reboot

To mount a samba share during each reboot we need to interact manually. This can be automated by putting the samba share entry in fstab which will automatically mount those shares by reading credentials files. Install with Samba client pacakge # sudo apt-get install smbfs fstab entry syntax //server/share /pathto/mountpoint cifs credentials=/home/username/.smbcredentials,uid=shareuser,gid=sharegroup 0 0 Edit … Read more