1. Configure SMB client on CentOS 6 # install SMB client packages yum install samba-client cifs-utils # create credential file to avoid typing SMB password $ sudo cat /etc/mdx.smbpasswd username=dongwu password=t0wnsend $ sudo chmod 600 /etc/mdx.smbpasswd # Configure SMB automount # append following line into /etc/auto.master, # make sure to replace with a real folder /wsvol /etc/auto.wst.smb --timeout=10 # create /etc/auto.wst.smb with following info # makre sure to replace with the actual warpstor server name * -fstype=cifs,credentials=/etc/mdx.smbpasswd :///& $ # restart autofs