Create a shared ISO SR - option to pass SMB version
-
Hello,
I'm trying to create a shared ISO SR with my 10 years old Synology NAS.
Unfortunately I'm getting
SR_BACKEND_FAILURE_222(, Could not mount the directory specified in Device Configuration [opterr=mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)], )I suspect that given the quite old age of my NAS... I should pass an option for SMB version.
When I used Proxmox VE I was passing smbversion=2.0 (it wasn't working for newer version).I wonder if it's not related.
Any opinion?
-
-
@stormi There is no way to do this currently.
You could add options manually in/opt/xensource/sm/SMBSR.py:getMountOptions
by appending the option here to try.
The simple way would add the parameter to all SMB SR though.
And it would be override by asm
update. -
@dthenot Sorry, you were asking about a ISO SR.
In this case, it's in/opt/xensource/sm/ISOSR.py:appendCIFSMountOptions
. -
@dthenot So there's no way to pass settings through the
deviceconfig
parameter such as what is possible with NFS VM SRs? -
@stormi So I looked into the code of the ISOSR and there is a parameter for the version in the device-config.
The parameter isvers
but it can only be V1 or V3.
And if it can't connect with V3, it will also try with V1.