挂载cifs文件系统类型 报错mount: /mnt: bad option解决
作者:互联网
在Ubuntu上执行挂载命令:
sudo mount -t cifs -o domain=leiligroup,user=zrt1234,password=LEIli1234 //lsn-zbb8377/data /mn
时报出如下错误:
mount: /mnt: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
解决方法:
sudo apt install -y cifs-utils
centos下安装方法:yum install -y cifs-utils
接着使用命令挂载
sudo mount.ntfs -o domain=leiligroup,user=zrt1234,password=LEIli1234 //lsn-zbb8377/data /mnt
挂载成功(临时挂载)
标签:domain,cifs,mount,sudo,mnt,报错,挂载 来源: https://blog.51cto.com/3108485/2444458