I don't assume, I have tested it before and it don't works.
The behavior is exactly the same.
I don't assume, I have tested it before and it don't works.
The behavior is exactly the same.
Hello Iridium,
yes, iI have cpoy the file and modified it.
I want to give "Want" a try. But with Requires and Before it is the same behavior.
Hello,
I have a strange problem with LibreELEC 9.0.2 to mount a samba share on boot.
# cat /storage/.config/system.d/storage-recordings.mount
[Unit]
Description=recordings
Wants=network-online.target
After=network-online.target
[Mount]
What=//192.168.165.2/Recording
Where=/storage/recordings
Options=vers=2.1,username=guest
Type=cifs
[Install]
WantedBy=multi-user.target
Display More
I have enabled this unit with
# systemctl enable storage-recordings.mount
Created symlink /storage/.config/system.d/multi-user.target.wants/storage-recordings.mount → /storage/.config/system.d/storage-recordings.mount.
On reboot the network share is not mounted. So I've checked the status of the unit and see this:
● storage-recordings.mount - recordings
Loaded: loaded (/storage/.config/system.d/storage-recordings.mount; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2015-01-01 01:00:26 CET; 5 years 2 months ago
Where: /storage/recordings
What: //192.168.165.2/Recording
Jan 01 01:00:21 thalia systemd[1]: Mounting recordings...
Jan 01 01:00:26 thalia systemd[1]: storage-recordings.mount: Mount process exited, code=exited status=255
Jan 01 01:00:26 thalia systemd[1]: storage-recordings.mount: Failed with result 'exit-code'.
Jan 01 01:00:26 thalia systemd[1]: Failed to mount recordings.
Then I've tried this manual with
# systemctl restart storage-recordings.mount
# systemctl status storage-recordings.mount
● storage-recordings.mount - recordings
Loaded: loaded (/proc/self/mountinfo; enabled; vendor preset: disabled)
Active: active (mounted) since Mon 2020-03-02 20:22:42 CET; 1min 10s ago
Where: /storage/recordings
What: //192.168.165.2/Recording
Memory: 0B
CGroup: /system.slice/storage-recordings.mount
Mar 02 20:22:42 thalia systemd[1]: Mounting recordings...
Mar 02 20:22:42 thalia systemd[1]: Mounted recordings.
Display More
And this works. I've double checked the paths, the smb version and the dependencies. But nothing works.
Any hints are welcome.
Many thanks
sep