Ubuntu掛載Windows 7共享目錄

本人直接一直使用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

相關文章
相關標籤/搜索