I’m new to Volumio and have just downloaded and flashed v3.
I’ve tried many different solutions already posted here for mounting a NAS but was unable to get it to work.
I’m using a Dlink DNS345 NAS.
I’m able to SSH to the pi and here are the response.
sudo showmount -e 192.168.86.81 (NAS IP)
Export list for 192.168.86.81:
/mnt/HD/HD_a2 192.168.86.186 (Pi IP)
/mnt/HD/HD_a2/Music 192.168.86.186
sudo systemctl status nfs*
● nfs-client.target - NFS client services
Loaded: loaded (/lib/systemd/system/nfs-client.target; enabled; vendor preset
Active: active since Tue 2021-12-14 04:21:26 UTC; 1h 17min ago
Dec 14 04:21:26 hifi-streaming systemd[1]: Reached target NFS client services.
I’m a bit confused here in that your ‘Paths’ entered in the UI don’t match the export paths or the ones in the error.
In the log:
Dec 14 04:23:50 hifi-streaming volumio[792]: info: Error mounting Music on IP 192.168.86.81 : exec error Error: Command failed: /usr/bin/sudo /bin/mount -t nfs -o ro,soft,noauto ‘192.168.86.81:/Volume_1/Music’ ‘/mnt/NAS/Music’
Dec 14 04:23:50 hifi-streaming volumio[792]: mount.nfs: access denied by server while mounting 192.168.86.81:/Volume_1/Music
access is denied by the server, because that path hasn’t been set as accessible for your device.
Go back to your NAS, and delete your network shares (for Volumio). Select the appropriate folder again (Volume_1/Music), choose NFS as your access method, and add ‘*’ as the host (allows all devices in your home network to access the share).
In the Volumio UI, use /Volume_1/Music as path, select nfs (no need to add password, username, or options), and hopefully it will work fine.
Note that you can always go back and alter the ‘host’ setting to the actual IP address of your RPi if you wish for more security (personally I trust all the devices on my home network).
Unfortunately, it doesn’t work. And I should mention that I have no issues accessing this from windows and mac OS. I haven’t tried any linux based systems.
I get this error now
With default NAS name (screenshot attached)
Error in mounting share Music
exec error Error: Command failed: /usr/bin/sudo /bin/mount -t nfs -o ro,soft,noauto ‘MULTMEDIA:/Volume_1/Music’ ‘/mnt/NAS/Music’ mount.nfs: Failed to resolve server MULTMEDIA: System error
In both options, Volumio seems to be adding an extra “/” into the path. Highlighted in red in the screenshot. Deleting this and resaving hasn’t changed anything either.
I’ve attached a screenshot of the NAS settings too. It’s red because it’s selected. Not an error.
you shared for all accounts but the screenshot doesn’t show any account information. Hence the error access denied.
I would expect here a username or everybody or …
I wouldn’t want to touch any settings now as it’s working. Spent over 6 hours trying to figure this out.
Two things I would like to clarify though;
Is using CIFS over NFS affects the sound quality in any way?
Is using CIFS 1.0 affects the sound quality compared to using a higher version?
Ok, this appears to be a case of the way the NAS presents the share to the network. If your last working config with path ‘Music’ works, then I would expect the same path to work with NFS.
Glad you’re sorted though, and can appreciate that you don’t want to fiddle. As Wheaten says the protocol won’t affect audio quality. Cifs v1.0 is less secure than later versions, but in a home network, I doubt that this is a problem.