Browsed by
Month: December 2016

How to Mount a SMB/CIFS Share as an Automount on CentOS/Fedora/RHEL

How to Mount a SMB/CIFS Share as an Automount on CentOS/Fedora/RHEL

How to Mount a SMB/CIFS Share as an Automount on CentOS/Fedora/RHEL or Using the fstab file approach 1-Install the  Automounter #  yum install autofs 2-Install samba (client) #yum install samba-client samba-common 3-Next you have to add an entry to the file /etc/auto.master, like so: # file: /etc/auto.master # … # … /mnt/cifs_share    /etc/auto.cifs    –timeout=600 –ghost 4-Now we’ll need to create the mount point: % mkdir /mnt/cifs_share 5-now create the file /etc/auto.cifs: share_data    -fstype=cifs,rw,noperm,credentials=/etc/credentials.txt    ://192.168.1.x/windows_data 6-And finally, create the credentials.txt file….

Read More Read More