在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
挂载成功(临时挂载)
原文地址:https://blog.51cto.com/3108485/2444458
时间: 2024-10-31 10:06:14