smb掛載報錯:Retrying with upper case share name,mount error(6): No such device or address

你出現這錯誤的時候我相信你心中也有很多????
你服務端的上下文做了,分享文件有了,防火牆關了,,服務組件都有,系統也重啓了,也hostname查看當前域名了,也確定當前網絡是正常的。
你客戶端能正常讀取到客戶端掛載的內容,/etc/fstab中格式配置沒問題,域名換成ip也試過了,不可能存在地址不存在,客戶端也能ssh到服務器。
但是就是掛載不上。
報錯如下;

[root@desktop0 ~]# mount -a
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)

我知道你心中有很多???
故障原因:服務器 /etc/samba/smb.conf 共享的名字和客戶端/etc/fstab設置的服務器路徑名不符
就會導致報錯:
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)

解決方法:
去服務端的配置文件中 /etc/samba/smb.conf 查看你共享的名字,[ 這裏面的名字]
然後去客戶端/etc/fstab中,查看你設置的服務端名字,如下面的/common

//server0/common    /mnt/multiuser cifs multiuser,username=brian,password=redhat,sec=ntlmssp  0 0
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章