Hi,
I am also having trouble mounting my NAS, I have created a mount script, using guides on the Libreelec Wiki website, that looks like this:
[Unit]
Description=cifs mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service
[Mount]
What=//192.168.1.92/mnt/md1/Users/AlexGilbert/Media/Videos
Where=/storage/recordings
Options=username=root,password=password,rw,vers=2.1
Type=cifs
[Install]
WantedBy=multi-user.target
Display More
This initially appears to work when enabled but when I run the command: systemctl status storage-recordings.mount
I get this:
● storage-recordings.mount - cifs mount script
Loaded: loaded (/storage/.config/system.d/storage-recordings.mount; enabled;
vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2018-01-14 15:10:04 GMT; 1 month
s 17 days ago
Where: /storage/recordings
What: //192.168.1.92/mnt/md1/Users/AlexGilbert/Media/Videos
Process: 542 ExecMount=/usr/bin/mount //192.168.1.92/mnt/md1/Users/AlexGilbert
/Media/Videos /storage/recordings -t cifs -o username=root,password=smbpasswd,rw
,vers=2.1 (code=exited, status=255)
Jan 14 15:10:04 LibreELEC systemd[1]: Mounting cifs mount script...
Jan 14 15:10:04 LibreELEC systemd[1]: storage-recordings.mount: Mount process ex
ited, code=exited status=255
Jan 14 15:10:04 LibreELEC systemd[1]: Failed to mount cifs mount script.
Jan 14 15:10:04 LibreELEC systemd[1]: storage-recordings.mount: Unit entered fai
led state.
Curiously the date is wrong in this output but when I run the date command it is correct and it is also correct in Kodi, maybe this has something to do with my issue. I am a complete novice and am sure there is something really obvious I am missing, someone please put me out of my misery!