Samba Linux挂载 异常
报错信息如下文章来源:https://www.toymoban.com/news/detail-479910.html
# mount -t cifs //10.197.0.191/test-1 /test -o username=administrator,password='Vbckd81na#20230526',incharset=utf8
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
2. 解决
应该是命令的参数位置不对,调整后为:文章来源地址https://www.toymoban.com/news/detail-479910.html
mount -t cifs -o username=用户名,password='密码' //samba服务器ip/目录 /本地路径
[root@nfs-server ~]# mount -t cifs -o username=administrator,password='Vbckd81na#20230526' //10.197.0.191/test-1 /test
[root@nfs-server ~]# df -Th
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 7.9G 0 7.9G 0% /dev
tmpfs tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs tmpfs 7.9G 829M 7.1G 11% /run
tmpfs tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/mapper/centos-root xfs 37G 19G 19G 50% /
/dev/sda1 xfs 1014M 136M 879M 14% /boot
tmpfs tmpfs 1.6G 4.0K 1.6G 1% /run/user/0
//10.197.0.191/test-1 cifs 50G 11G 39G 22% /test
到了这里,关于[Samba Linux挂载 异常]Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!