I've been playing with the new CIFS mounting options in the webui and cant seem to get it to work. I've turned to the console to try and get more feedback, when I run:
I successfully get a list of available shares including my target "ProxmoxBackup" so I run:
And I get:
So I double check share and file system permissions on the Windows 2008R2 server the share is hosted on and everything is set to full, so I run:
And this seems to work without issue, what can I do to further understand where the proxmox file storage is getting hung up?
Edit: After reading CIFS wiki a few more times and finding a couple posts talking about smb version, I realized that despite smb version not being available in the web ui, I could set it on the command line. Despite the example showing "3" being a valid value it appears 2.0, 2.1, 3.0 are the exact values you need to use. Setting it to 2.1 worked for me:
I wish this option was in the web ui but maybe that will come in the future. The one other thing that I still see wrong is that in the web ui, the icon for the storage under the node shows a question mark as if it's not connected, but it is and i'm able to make and restore a backup using that storage.
Code:
pvesm cifsscan 192.168.1.2 --username ProxmoxBackup --password Password
I successfully get a list of available shares including my target "ProxmoxBackup" so I run:
Code:
pvesm add cifs extbackup --server 192.168.1.2 --share ProxmoxBackup --username ProxmoxBackup --password Password
And I get:
Code:
mount error(95): Operation not supported
create storage failed: error with cfs lock 'file-storage_cfg': mount error: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
So I double check share and file system permissions on the Windows 2008R2 server the share is hosted on and everything is set to full, so I run:
Code:
mkdir /mnt/test
mount -t cifs -o username=ProxmoxBackup,password=Password //192.168.1.2/ProxmoxBackup /mnt/test
touch /mnt/test/testfile
rm /mnt/test/testfile
And this seems to work without issue, what can I do to further understand where the proxmox file storage is getting hung up?
Edit: After reading CIFS wiki a few more times and finding a couple posts talking about smb version, I realized that despite smb version not being available in the web ui, I could set it on the command line. Despite the example showing "3" being a valid value it appears 2.0, 2.1, 3.0 are the exact values you need to use. Setting it to 2.1 worked for me:
Code:
pvesm add cifs extbackup --server 192.168.1.2 --share ProxmoxBackup --username ProxmoxBackup --password Password --smbversion 2.1
I wish this option was in the web ui but maybe that will come in the future. The one other thing that I still see wrong is that in the web ui, the icon for the storage under the node shows a question mark as if it's not connected, but it is and i'm able to make and restore a backup using that storage.
Last edited: