I have been attempted to configure Proxmox to mount a CIFS share for ISO images.
root@pve2:~# pveversion
pve-manager/6.1-3/37248ce6 (running kernel: 5.3.10-1-pve)
I can see the share with pvescm cifsscane
root@pve2:~# pvesm cifsscan 192.168.100.10
....
ISO
Pictures Pictures
Backup Backup
...
However, if I try to mount the share, I get an access denied. Either from the GUI or CLI.
From the UI:
create storage failed: error with cfs lock 'file-storage_cfg': session setup failed: NT_STATUS_ACCESS_DENIED (500)
From the CLI:
root@pve2:~# pvesm add cifs iso --server 192.168.100.10 --share ISO
create storage failed: error with cfs lock 'file-storage_cfg': session setup failed: NT_STATUS_ACCESS_DENIED
I've tried smb client versions 2.0, 2.1 and 3.0. Same result.
From the shell I can access the share via smblcient witout any issue.
root@pve2:~# smbclient //192.168.100.10/iso
Enter WORKGROUP\root's password:
Try "help" to get a list of possible commands.
smb: \> ls
. D 0 Fri Sep 11 20:20:15 2015
.. D 0 Wed Apr 29 19:35:03 2020
Fedora DA 0 Fri Sep 11 20:20:19 2015
CentOS DA 0 Fri Sep 11 20:20:19 2015
....
I can change into any of the ISO folders and `ls` to get the contents without any issue.
I have also mounted the same share on a Fedora 31 Workstation and Windows 10 system.
The more interesting aspect, is that when Proxmox returns the access denied, I checked the security logs on the SMB host (QNAP) and it shows the smb Login as ok. So the host is not rejecting the request.
So, I can't understand why Proxmox returns an access denied.
I have tested with this the guest access as well as a named user account. Same results.
Any assistance or advice on how to debug this further is very much appreciated.
root@pve2:~# pveversion
pve-manager/6.1-3/37248ce6 (running kernel: 5.3.10-1-pve)
I can see the share with pvescm cifsscane
root@pve2:~# pvesm cifsscan 192.168.100.10
....
ISO
Pictures Pictures
Backup Backup
...
However, if I try to mount the share, I get an access denied. Either from the GUI or CLI.
From the UI:
create storage failed: error with cfs lock 'file-storage_cfg': session setup failed: NT_STATUS_ACCESS_DENIED (500)
From the CLI:
root@pve2:~# pvesm add cifs iso --server 192.168.100.10 --share ISO
create storage failed: error with cfs lock 'file-storage_cfg': session setup failed: NT_STATUS_ACCESS_DENIED
I've tried smb client versions 2.0, 2.1 and 3.0. Same result.
From the shell I can access the share via smblcient witout any issue.
root@pve2:~# smbclient //192.168.100.10/iso
Enter WORKGROUP\root's password:
Try "help" to get a list of possible commands.
smb: \> ls
. D 0 Fri Sep 11 20:20:15 2015
.. D 0 Wed Apr 29 19:35:03 2020
Fedora DA 0 Fri Sep 11 20:20:19 2015
CentOS DA 0 Fri Sep 11 20:20:19 2015
....
I can change into any of the ISO folders and `ls` to get the contents without any issue.
I have also mounted the same share on a Fedora 31 Workstation and Windows 10 system.
The more interesting aspect, is that when Proxmox returns the access denied, I checked the security logs on the SMB host (QNAP) and it shows the smb Login as ok. So the host is not rejecting the request.
So, I can't understand why Proxmox returns an access denied.
I have tested with this the guest access as well as a named user account. Same results.
Any assistance or advice on how to debug this further is very much appreciated.