Hello,
I am trying to mount a NAS drive to be used by Plex Media Server, but am having some difficulty. I can connect via NFS or SMB and am able to see/use the drive from Kodi. I have gone through the Libreelec wiki and attempted to mount via NFS and SMB, but am getting the same failure. Here is what I am doing:
# nano /storage/.config/system.d/storage-media.mount
[Unit]
Description=smb mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service
[Mount]
What=192.168.1.40
Where=/storage/media
Options=username=plex,password=plex,rw,vers=2.1
Type=cifs
[Install]
WantedBy=multi-user.target
# systemctl start storage-media.mount
Job for storage-media.mount failed.
See "systemctl status storage-media.mount" and "journalctl -xe" for details.
# systemctl status storage-media.mount
● storage-media.mount - smb mount script
Loaded: loaded (/storage/.config/system.d/storage-media.mount; disabled; vend
or preset: disabled)
Active: failed (Result: exit-code) since Mon 2018-12-17 21:51:57 UTC; 47s ago
Where: /storage/media
What: 192.168.1.40
Process: 2815 ExecMount=/usr/bin/mount 192.168.1.40 /storage/media -t cifs -o
username=plex,password=plex,rw,vers=2.1 (code=exited, status=255)
Dec 17 21:51:57 Media-Player systemd[1]: Mounting smb mount script...
Dec 17 21:51:57 Media-Player systemd[1]: storage-media.mount: Mount process exit
ed, code=exited status=255
Dec 17 21:51:57 Media-Player systemd[1]: Failed to mount smb mount script.
Dec 17 21:51:57 Media-Player systemd[1]: storage-media.mount: Unit entered faile
d state.
I get the same failure when doing the above for NFS. Maybe I am missing something simple?? Any help would be greatly appreciated.
Thanks