Automount samba shares from fstab

To Configure Automount of Cifs/Smbfs (windows share) ,make sure you installed cifs-utils add the share details to /etc/fstab


Samba share , password protected shares
//host/share /mnt/share cifs defaults,credentials=/etc/fstab_credentials 0 0


And add the authentication detais to /etc/fstab_credentials. If the file not there, create one with below details




After that issue mount -a to re-read fstab

Share this Story:
  • facebook
  • twitter
  • gplus

About bentech4u

Leave a comment