My setup; HAOS in a VM on TrueNAS Scale, all software is latest.
When trying to mount NAS storage, it failed with this message;
Mounting music did not succeed. Check host logs for errors from mount or systemd unit mnt-data-supervisor-mounts-music.mount for details.
This is the error message from the host log;
homeassistant kernel: CIFS: Attempting to mount \192.168.0.10\music
homeassistant kernel: CIFS: VFS: Error connecting to socket. Aborting operation.
homeassistant kernel: CIFS: VFS: cifs_mount failed w/return code = -113
homeassistant mount[55732]: mount error(113): could not connect to 192.168.0.10Unable to find suitable address.
homeassistant systemd[1]: mnt-data-supervisor-mounts-music.mount: Mount process exited, code=exited, status=32/n/a
homeassistant systemd[1]: mnt-data-supervisor-mounts-music.mount: Failed with result ‘exit-code’.
homeassistant systemd[1]: Failed to mount Supervisor cifs mount: music.
homeassistant kernel: audit: type=1334 audit(1703917850.372:873): prog-id=262 op=LOAD
homeassistant systemd-timesyncd[553]: Network configuration changed, trying to establish connection.
homeassistant systemd[1]: Started Journal Gateway Service.
homeassistant systemd-timesyncd[553]: Contacted time server 162.159.200.1:123 (time.cloudflare.com).
homeassistant systemd-journal-gatewayd[56212]: microhttpd: MHD_OPTION_EXTERNAL_LOGGER is not the first option specified for the daemon. Some messages may be printed by the standard MHD logger.
I have googled the living daylights out of this but am none the wiser.
Would someone please give me some idea where to start with overcoming this error?
Hopefully, this will help. I’m using the first option. If you have trouble creating a bridge, you’ll probably have better luck asking in the TrueNAS forums for help.
If you want to access your TrueNAS SCALE directories from a VM, you have multiple options. If your system has more than one physical interface, you can assign your VMs to a NIC other than the primary one your TrueNAS server uses. This method makes communication more flexible, but does not offer the potential speed of a bridge.
If you have only one physical interface, you must create a bridge interface for the VM to use.
I am at loss to understand what happened BUT it now works. LMS loads from the sidebar and all of the NAS music is listed. All I had to do was WAIT for a bloody long time.
Everything works as it should.
You are a bloody gem (massive compliment in Australia :0 )