NFS mount does not work from service, but does manually

  • NFS mount does not work from service, but does manually Libreelec 9.0.1:

    Fails:

    ● storage-recordings.mount - music nfs mount script

    Loaded: bad-setting (Reason: Unit storage-recordings.mount has a bad unit file setting.)

    Active: inactive (dead)

    Where: /storage/music

    What: 10.120.25.XX:/raid6/public/Audio/Music

    Mar 18 13:40:38 kodi systemd[1]: storage-recordings.mount: Where= setting doesn't match unit name. Refusing.

    Mar 18 13:40:53 kodi systemd[1]: storage-recordings.mount: Where= setting doesn't match unit name. Refusing.

    Mar 18 13:41:11 kodi systemd[1]: storage-recordings.mount: Where= setting doesn't match unit name. Refusing.


    Yet

    mount -t nfs 10.120.25.XX:/raid6/public/Audio/Music /storage/music/

    does

    So it is the script error is meaning less and wrong as the directory obvious exists if the second manual command line works. Every search returns that it is that the directory name is wrong or a link, but again as the second command works that can not explain it either.


    Any idea what is wrong since based on the error nothing is wrong, yet something is,

    ERIC

    Edited once, last by egandt (March 18, 2019 at 6:10 PM).

  • Code
    Mar 18 13:41:11 kodi systemd[1]: storage-recordings.mount: Where= setting doesn't match unit name. Refusing.

    Where= setting: Where=/storage/music

    Unit name: storage-recordings.mount

    Rename unit to storage-music.mount to get it work.