本人直接一直使用elementary OS 0.2,挂载windows远程目录没有发生状况。 最近因为要测试HP Thunderbolt只能在Windows环境,决定既然从新安装操做系统,就把elementary os的工做环境升级到 0.3.(家里面一直在用0.3)windows
因为以前有安装经验,已经跳过了sogou拼音的问题。测试
但发现因为存储更换到了Windows 7,发现没法mount目录。 最初提示this
mount romote io error
因为Elemantary OS基于Ubuntu14.04,访问Ubuntu日志/var/log/syslog 查看内核错误操作系统
kernel: [ 7729.438322] CIFS VFS: cifs_mount failed w/return code = -121
因为直接mount报告错误不完整,安装了cifs-utils日志
sudo apt-get install -y cifs-utils
安装后,错误提示变成了code
mount error(121): Remote I/O error Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
经过man查看mount.cifs文档内容 发现以下命令及其有多是由于自动赋值形成的错误ci
vers= SMB protocol version. Allowed values are: · 1.0 - The classic CIFS/SMBv1 protocol. This is the default. · 2.0 - The SMBv2.002 protocol. This was initially introduced in Windows Vista Service Pack 1, and Windows Server 2008. Note that the initial release version of Windows Vista spoke a slightly different dialect (2.000) that is not supported. · 2.1 - The SMBv2.1 protocol that was introduced in Microsoft Windows 7 and Windows Server 2008R2. · 3.0 - The SMBv3.0 protocol that was introduced in Microsoft Windows 8 and Windows Server 2012. Note too that while this option governs the protocol version used, not all features of each version are available.
随即修改了vers=2.1,命令正常经过element