usb smb mount issues

  • Im trying to mount a usb for sharing via smb, here is the mount file:

    This is the message output from systemctl status var-media-usb.mount:

    Code
    Warning: The unit file, source configuration file or drop-ins of var-media-usb.mount changed on disk. Run 'systemctl daemon-r
    ● var-media-usb.mount - cifs mount script
         Loaded: loaded (/storage/.config/system.d/var-media-usb.mount; enabled; vendor preset: disabled)
         Active: active (mounted) since Tue 2021-02-02 15:29:49 UTC; 1 years 4 months ago
          Where: /var/media/usb
           What: /dev/sda1
    
    Feb 02 15:29:49 Pimedia systemd[1]: Condition check resulted in cifs mount script being skipped.

    I can navigate to the usb in Libreelec, not sure what I have missed :(

  • Systemd mount files are for mounting remote (SMB/NFS) filesystems, not sharing of local filesystems via SMB. To share a locally mounted USB drive you can just enable "auto-share removable media" in LE settings Samba options.