mount -t cifs //a.b.c.d:/Multimedia/MP3 /media/nasfiles/ -o user=user,password=pw
mount: bad port ''
mount: mounting //a.b.c.d:/Multimedia/MP3 on /media/nasfiles/ failed: Result not representable
This i my mount command that works for me…
In configuration.yaml
Shell_command:
Mount_nas: mkdir -p /media && mount -t cifs -o username=xyz, password=xyz, domain=workgroup //nas_ip/sharename /media
This way you can use the mount as a service on autostart or such, but try if this syntax does work for you
I got it working again, weird behaviour, the official SSH addon doesn’t allow the mapping, giving a permission denied, but the community SSH addon works.
But as I haven’t rebooted the entire host, I’m not sure if the automation maps it, or if it just reusing the mapping made throught the HA Community AddOn?