systemd mount samba share

  • Hello,

    I have a strange problem with LibreELEC 9.0.2 to mount a samba share on boot.

    I have enabled this unit with

    Code
    # 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:

    Code
    ● 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

    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