samba共享挂载
1.首先得安装cifs-utils
yum -y install cifs-utils
2.测试挂载
mount -t cifs -o username=zengtao,domain=founderpcb.com,vers=2.0,dir_mode=0777,file_mode=0777 //172.2131.173/个人数据/test /ftp
Password for zengtao@//172.21.31.73/个人数据/test: *********
不报错,挂载成功
3.写入fstab
//172.2131.173/个人数据/test /ftp cifs username=zengtao,password=xxx,domain=founderpcb.com,vers=2.0,dir_mode=0777,file_mode=0777 0 0
4.其他