[SOLVED] Can't mount CIFS share after upgrade

Razva

Renowned Member
Dec 3, 2013
250
8
83
Romania
cncted.com
Hello,

I have a CIFS share which worked great until tonight's upgrade and reboot.

When using 'mount.cifs' the share works as expected. Example:
Code:
root@pmx3-lim:~# mount.cifs -o user=USERNAME,pass=PASSWORD //1.2.3.4 /mnt/pve/stbox
root@pmx3-lim:/mnt/pve/stbox# ls
dump  template

So the share works properly.

Now, when using 'cifsscan' I get:
Code:
root@pmx1-lim:/mnt/pve/stbox# pvesm cifsscan 1.2.3.4 --username USERNAME --password
Enter Password: ****************
root@pmx1-lim:/mnt/pve/stbox# echo $?
0
root@pmx1-lim:/mnt/pve/stbox# /usr/bin/smbclient //1.2.3.4 -d 0 -m smb3 -U USERNAME -c 'echo 1 0'
Enter USERNAME's password:
Domain=[PUBLICBACKUP158] OS=[] Server=[]

On 'pvesm add cifs' I get:
Code:
create storage failed: error with cfs lock 'file-storage_cfg': storage 'test' is not online

Same goes with the WebUI.

Any hints on how to solve this?

Thanks!
 
Last edited:
Hi,
You server does not answer to this call.
Code:
smbclient -m  smb3 -d 0 -L <serverip> -N
[Code]
 
Hi,
You server does not answer to this call.
Code:
smbclient -m  smb3 -d 0 -L <serverip> -N
[Code]
Thanks for your reply.

It does answer properly:

Code:
root@pmx1-lim:~# smbclient -m  smb3 -d 0 -L MY_CIFS_IP -U MY_USERNAME
Enter USERNAME's password:
Domain=[PUBLICBACKUP158] OS=[] Server=[]

       Sharename       Type      Comment
       ---------       ----      -------
       IPC$            IPC       IPC Service (Hetzner Samba Server)
Domain=[PUBLICBACKUP158] OS=[] Server=[]

       Server               Comment
       ---------            -------

       Workgroup            Master
       ---------            -------

Note that the IP I'm posting is just a dummy IP.

Any other ideas/solutions?

Thank you!
 
Last edited:
You have to mount it manually and use it as dir storage.
 
Can you please let me know why did it initially worked, and it doesn't work right now?
I can only tell you here it is working without a problem.
I guess the configuration on the server side has changed because of the command
"smbclient" has nothing to do with Proxmox.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!