Hi, I have a new NAS unit that I am trying to mount on LibreELEC.
I have created a mount point at /storage/nas. I have created a file /storage/.config/system.d/storage-nas.mount with the contents:
Code
[Unit]
Description=cifs mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service
[Mount]
What=//buffalo-4tb-nas/kodi
Where=/storage/nas
Options=username=kodi,password=kodi,rw,vers=2.1
Type=cifs
[Install]
WantedBy=multi-user.target
Display More
I have issued the command systemctl enable storage-nas.mount
The drive does not mount however. If I look at the output of systemctl enable storage-nas.mount I get this:
Code
● storage-nas.mount - cifs mount script
Loaded: loaded (/storage/.config/system.d/storage-nas.mount; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2019-04-11 17:28:40 BST; 5 months 2 days ago
Where: /storage/nas
What: //http://buffalo-4tb-nas/kodi
Apr 11 17:28:40 LibreELEC-pi systemd[1]: Mounting cifs mount script...
Apr 11 17:28:40 LibreELEC-pi mount[389]: mount: bad port spec 'http:'
Apr 11 17:28:40 LibreELEC-pi mount[389]: mount: mounting //http://buffalo-4tb-nas/kodi on /storage/nas failed: Numerical result out of range
Apr 11 17:28:40 LibreELEC-pi systemd[1]: storage-nas.mount: Mount process exited, code=exited, status=255/EXCEPTION
Apr 11 17:28:40 LibreELEC-pi systemd[1]: storage-nas.mount: Failed with result 'exit-code'.
Apr 11 17:28:40 LibreELEC-pi systemd[1]: Failed to mount cifs mount script.
Display More
This is weird on two fronts, firstly the date is wrong (although the date command shows the correct local time) and I am not sure the URI looks right (where did that http come from?) I've tried rebooting but this doesn't help either.
It looks right to me but something obviously isn't. Any thoughts?
Thanks!