As a last project to have a fully working installation of LibreELEC on my Pi 4, I try to get automatic mounting of a directory on my server with sshfs working, but so far all I get is the error message "No such device" from systemctl. Mounting the directory by hand wit sshfs luke:/media /storage/luke works with out any problems.
Here is the storage-luke.mount file:
Code
[Unit]
Description=sshfs mount for data on luke
[Mount]
What=luke:/media
Where=/storage/luke
Type=sshfs
Options=idmap=user
[Install]
WantedBy=multi-user.target
Display More
And here the output from systemctl status storage-luke.mount:
Code
● storage-luke.mount - sshfs mount for data on luke
Loaded: loaded (/storage/.config/system.d/storage-luke.mount; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2020-08-30 18:08:59 CEST; 18min ago
Where: /storage/luke
What: luke:/media
Aug 30 18:08:59 LibreELEC systemd[1]: Mounting sshfs mount for data on luke...
Aug 30 18:08:59 LibreELEC mount[676]: mount: mounting luke:/media on /storage/luke failed: No such device
Aug 30 18:08:59 LibreELEC systemd[1]: storage-luke.mount: Mount process exited, code=exited, status=255/EXCEPTION
Aug 30 18:08:59 LibreELEC systemd[1]: storage-luke.mount: Failed with result 'exit-code'.
Aug 30 18:08:59 LibreELEC systemd[1]: Failed to mount sshfs mount for data on luke.
Display More
I am running LibreELEC 9.2.5