[Linux相关] mount(2) system call failed: Operation not supported 解决方案

在Linux 18.04上安装新系统后,尝试挂载磁盘时遇到'Operation not supported'错误。原因是缺少cifs-utils包。通过安装该包并使用'vers=1.0'选项,成功解决了挂载问题。
摘要由CSDN通过智能技术生成

新装了linux 18.04后, 挂载其他盘时,遇到了如下错误

$sudo mount -t cifs -o username=xxx //172.16.x.xxx/SW_Test/ /media/SW_TEST
mount: /media/SW_TEST: mount(2) system call failed: Operation not supported.

后发现缺少 cifs-utils 包, 导致有此错误

安装 cifs-utils 包

$sudo apt-get install cifs-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  keyutils smbclient winbind
The following NEW packages will be installed:
  cifs-utils
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 71.5 kB of archives.
After this operation, 231 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 cifs-utils amd64 2:6.8-1 [71.5 kB]
Fetched 71.5 kB in 17s (4,208 B/s)                     
Selecting previously unselected package cifs-utils.
(Reading database ... 234494 files and directories currently installed.)
Preparing 
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值