SMB3 - not possible with mount?

  • Hi,

    I use LibreELEC (and before OpenELEC) for years now and it works great. :)

    To save myself from dying SD cards (Odroid-C2), I implemented a backup script which copies a daily tar archive to a SMB share on my Synology NAS.

    After updating to 8.2.0 I changed my Synology's Samba config to require SMB 3 as minimum version. Everything works as expected in Kodi, though my backup script failed. I get an Operation not supported error if I try to connect with mount, either without the vers parameters or with vers set to 3.0 or 3.02.

    Code
    /bin/mount -t cifs -o vers=3.0,username=...,password=...,rw "$mount_point" "$backup_dir"


    If I set vers=3.1.1, which LibreELEC uses for the Kodi shares, I get an Invalid argument error. With Synology's Samba config set to min protocol SMB 2_10 the mount in LibreELEC works.

    Could somebody please help me out, I'm kinda stuck here.

    Thanks,
    Jože