Score:0

I can't mount windows folder in centos through mount -t cifs

ph flag

everyone!

I have windows folder. This folder is available from my windows 10 OS. At the server with Centos 8 I did:

sudo mkdir /mnt/sbsp
sudo mount -t cifs //bk.local/BurgerKing/NetDisks/K/Бухгалтерия/Сбер_Спасибо_Отчет /mnt/sbsp -o user=user1,iocharset=utf8,"pass=12345",uid=bk_root,gid=bk_root

I recieved output:

mount error(2): No such file or directory

In dmesg:

[1457351.175943] CIFS: Attempting to mount \\bk.local\BurgerKing
[1457351.205772] CIFS: VFS:  BAD_NETWORK_NAME: \\bk.local\BurgerKing
[1457351.307879] CIFS: VFS:  BAD_NETWORK_NAME: \\bk.local\NetDisk
[1457351.317199] CIFS: VFS: cifs_mount failed w/return code = -2

In journalctl the same as dmesg.

I can mount another folder from another windows server, but unfortunately I can't make the same with this. Please help, what is wrong?

stark avatar
mu flag
What does `smbclient -L <host>` give?
Makar Pogorelov avatar
ph flag
smbclient -L bk.local -U svc-dwh-etl Enter SAMBA\svc-dwh-etl's password: Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin C$ Disk Default share IPC$ IPC Remote IPC NETLOGON Disk Logon server share SYSVOL Disk Logon server share SMB1 disabled -- no workgroup available
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.