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

    # systemctl enable storage-recordings.mount
    Created symlink /storage/.config/system.d/ → /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: //
    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


  • Sounds like a network issue. Did you copy and modify the "cifs.mount.sample" file? On my machine "9.2" it contains



  • 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.