Proxmox 8.03 mount.cifs problem

ISimic

Member
Nov 7, 2019
9
1
23
61
H all,
Recently I upgraded my proxmox server from version 7.4-15 to 8.0.3.
So far, everything works ok except one detail related to CIFS.
For backups I use old NAS which runs outdated software impossible to update.

To mount I use following command:
Code:
sudo mount -t cifs --verbose -o username=backupusr,password=redacted,vers=1.0,sec=ntlmv2 //nas1/bkpbase /mnt/bkpmount
This works on all my systems, some of them even runs kernel 6.3.10. This worked also in proxmox 7.
But now, in proxmox 8.0.3 I am unable to mount:
Code:
$ sudo mount -t cifs --verbose -o username=backupusr,password=redacted,vers=1.0,sec=ntlmv2 //nas1/bkpbase /mnt/bkpmount
[sudo] password for igor:
mount.cifs kernel mount options: ip=10.1.1.15,unc=\\nas1\bkpbase,vers=1.0,sec=ntlmv2,user=backupusr,pass=********
mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
Dmesg shows:
Code:
[ 9364.862038] Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
[ 9364.862060] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
[ 9364.862075] CIFS: Attempting to mount \\nas1\bkpbase
[ 9364.898129] CIFS: VFS: cifs_mount failed w/return code = -5

I installed on this proxmox host proxmox 7.4-15 in VM and in it mount command works!!!
It looks to me like some kind kernel problem in 8.03 (kernel is: 6.2.16-3-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-3 (2023-06-17T05:58Z) x86_64 GNU/Linux)
Do I missing something?

Best regards,
 
It is the kernel problem!
I installed 6.1.10-1-pve (6.1.10-1-pve #1 SMP PREEMPT_DYNAMIC PVE 6.1.10-1 (2023-02-07T13:10Z) x86_64 GNU/Linux)
and same mount command works without problem, while with 6.2.16-3-pve not working.

Filed bug report #4817
 
Last edited:
  • Like
Reactions: jwe.teambanan.se

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!