I got an older computer with 4 hdd's, that I use as my file server. It still runs an older version of OpenELEC. The disks are shared with the samba version OpenELEC are/was using, and they are/was then mounted on my nuc running LibreELEC (before 8.0.2, now 8.1.2).
But since I updated my nuc running LibreELEC, to 8.1.2, my nuc won't mount the shares from the file server, and also not the disks I got in a Buffalo NAS.
I read about the changes, but I don't really understand. The disk are (or should be) mounted with .mount files in /.config and I think it's called cifs? I followed this guide before... Mounting network shares - OpenELEC
I've also updated my samba.conf to the new standard.
I even changed settings for samba in LibreELEC settings that samba1 should be the lowest version, and rebooted, but still doesn't work.
I've also changed the Kodi settings for samba bo be smb1.
Someone that might know what I need to do. Has the mount function changed to? I can't even do a mount like this..
LibreELEC-NUC:~ # mount -t cifs -o username=user,rw //192.168.0.103/hdd4 /storage/mount
mount: mounting //192.168.0.103/hdd4 on /storage/mount failed: Host is down
Or if I try the NAS I get.
LibreELEC-NUC:~ # mount -t cifs -o username=user,rw //192.168.0.188/disk1 /storage/mount
mount: mounting //192.168.0.188/disk1 on /storage/mount failed: Invalid argument
This is how my .mount looks like.
# This is a sample service script to mount CIFS/SAMBA shares.
# Please read carefully the comments in this file. For production usage
# you can remove all comments (lines beginning with "#") from this file.
[Unit]
# The description should be used to explain what this servicefile is for
Description=cifs mount hdd3 script
# if we do network mounts like here we *require* 'network-online.service'
# which checks if the network is online
Requires=network-online.service
# our scripts must start *after* 'network-online.service', on timeout and if
# 'network-online.service' fails we can not mount and this scripts fails too
After=network-online.service
# usually we mount networks shares because we want they avaible *before* XBMC starts.
# so XBMC has access to this mounts from beginning. Note: this slows down the boot!
Before=kodi.service
[Mount]
# The share we want mount
What=//192.168.0.103/hdd3
# Where we want mount this share
Where=/media/hdd3
# Any options you usually use with the "-o" parameter in the mount command
Options=username=user,password=,rw
# filesystem type
Type=cifs
[Install]
# The target is used by 'systemctl enable <name_of_this_file.mount>' to link
# this service to a runlevel for starting on boot. usually 'multi-user.target'
# is ok here.
WantedBy=multi-user.target
# Important:
# this file must be renamed to <mountpoint>.mount where <mountpoint>, is the FULL path
# where the share will be mounted but slashes "/" MUST BE REPLACED with dashes "-" with .mount
# as extension.
# This means, if we want mount to "/storage/music2" (see above "Where=/storage/music2")
# then this file must be renamed to 'storage-music2.mount' and can be enabled via ssh with the
# command 'systemctl enable storage-music2.mount'
Display More
EDIT: I found this...Can't enable cifs shares in v8.1.2
Adding vers=1.0 helped...
/Söder