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:getMountOptionsby appending the option here to try.
The simple way would add the parameter to all SMB SR though.
And it would be override by asmupdate. -
@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
deviceconfigparameter 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 isversbut it can only be V1 or V3.
And if it can't connect with V3, it will also try with V1.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login