當前位置:編程學習大全網 - 網站源碼 - 如何解決linux mount cifs 掛window 網盤問題

如何解決linux mount cifs 掛window 網盤問題

在centos mount cifs 掛window 網盤容易出現問題如下:

壹、掛載時,用戶/密碼錯誤

mount?error(13):?Permission?denied

Refer?to?the?mount.cifs(8)?manual?page?(e.g.?man?mount.cifs)

對應/var/log/message記錄

Oct?12?16:20:01?localhost?kernel:?Status?code?returned?0xc000006d?NT_STATUS_LOGON_FAILURE

Oct?12?16:20:01?localhost?kernel:?CIFS?VFS:?Send?error?in?SessSetup?=?-13

Oct?12?16:20:01?localhost?kernel:?CIFS?VFS:?cifs_mount?failed?w/return?code?=?-13

二、沒有分享目錄

Retrying?with?upper?case?share?name

mount?error(6):?No?such?device?or?address

Refer?to?the?mount.cifs(8)?manual?page?(e.g.?man?mount.cifs)

對應/var/log/message記錄

Oct?12?16:20:06?localhost?kernel:?CIFS?VFS:?cifs_mount?failed?w/return?code?=?-6

Oct?12?16:20:17?localhost?kernel:?CIFS?VFS:?cifs_mount?failed?w/return?code?=?-6

Oct?12?16:20:17?localhost?kernel:?CIFS?VFS:?cifs_mount?failed?w/return?code?=?-6

目前遇到的問題就是這些

補充壹句,格式壹定要寫正確:

mount?-t?cifs?-o?username=administrator,password=****?//192.168.1.1/分享目錄?/linux/share

  • 上一篇:Aauto Quicker直播如何快速走紅?
  • 下一篇:momgntum是什麽意思
  • copyright 2024編程學習大全網