Good morning,
I've create an samba.conf (OK I renamed only the sample.conf).
Here my samba.conf
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
# Copyright (C) 2017-present Team LibreELEC (LibreELEC – Just enough OS for KODI)
# samba.conf v4 (do not remove)
# This configuration file allows you to customize the samba shares
# available from your machine
[global]
server string = LibreELEC
browseable = yes
writeable = yes
printable = no
deadtime = 30
mangled names = no
name resolve order = host bcast
printcap name = /dev/null
load printers = no
encrypt passwords = true
enable core files = no
passdb backend = smbpasswd
smb encrypt = disabled
fruit:model = Xserve
# samba share options
map to guest = Bad User
guest account = root
security = user
# samba tuning options
socket options = TCP_NODELAY IPTOS_LOWDELAY
min receivefile size = 16384
aio read size = 16384
aio write size = 16384
use sendfile = yes
# The following are default values for the master selection process
# local master = yes
# preferred master = auto
# domain master = auto
# os level = 20
# "strict allocate = yes" breaks large network transfers to external hdd
# Force this to "no" in case "yes" becomes the default in future
strict allocate = no
allocation roundup size = 0
# Using the following configurations as a template allows you to add
# writeable shares of disks and paths under /storage
[Update]
path = /storage/.update
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/.update
[Videos]
path = /storage/videos
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/videos
[Music]
path = /storage/music
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/music
[TV Shows]
path = /storage/tvshows
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/tvshows
[Recordings]
path = /storage/recordings
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/recordings
[Downloads]
path = /storage/downloads
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/downloads
[Pictures]
path = /storage/pictures
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/pictures
[Emulators]
path = /storage/emulators
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/emulators
[Configfiles]
path = /storage/.config
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/.config
[Userdata]
path = /storage/.kodi/userdata
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/.kodi/userdata
[Screenshots]
path = /storage/screenshots
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/screenshots
[Logfiles]
path = /storage/logfiles
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/logfiles
root preexec = createlog
[Backup]
path = /storage/backup
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/backup
[Picons]
path = /storage/picons
available = yes
browseable = yes
public = yes
writeable = yes
root preexec = mkdir -p /storage/picons/tvh /storage/picons/vdr
If I shut down the NAS here the error message:
● storage-recordings.mount - Aufnahmepfad zur NAS
Loaded: loaded (/storage/.config/system.d/storage-recordings.mount; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2020-03-27 08:30:09 CET; 2min 55s ago
Where: /storage/recordings
What: //NSA325-V2/video/recordings
Mar 27 08:30:03 LibreELEC systemd[1]: Mounting Aufnahmepfad zur NAS...
Mar 27 08:30:09 LibreELEC mount[423]: mount: mounting //NSA325-V2/video/recordings on /storage/recordings no route to host
Mar 27 08:30:09 LibreELEC systemd[1]: storage-recordings.mount: Mount process exited, code=exited status=255
Mar 27 08:30:09 LibreELEC systemd[1]: storage-recordings.mount: Failed with result 'exit-code'.
Mar 27 08:30:09 LibreELEC systemd[1]: Failed to mount Aufnahmepfad zur NAS.
If the NAS is on the error message is again "failed: Host is down"
I've also change
[Mount]
What=//192.168.178.57/video/recordings
Where=/storage/recordings
and
[Mount]
What=//192.168.178.57/video/recordings/
Where=/storage/recordings/
and
[Mount]
What=//192.168.178.57/Volume1/video/recordings
Where=/storage/recordings
my last change
[Mount]
What=//192.168.178.57/Volume1/video
Where=/storage/video
but nothing works
Yes I restart the Raspery after each change