在centos mount cifs 掛window 網盤容易出現問題如下:
壹、掛載時,用戶/密碼錯誤
mount?error(13):?Permission?deniedRefer?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_FAILUREOct?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?namemount?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?=?-6Oct?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