I have a tiny Synology USB Station NAS, and have it running a Samba share (the root of the drive) which is assigned the name “U”. I also used the Synology interface to define a userid and password. That being said (ie. the server side of the share is a bit of a black box to me), here is what I entered into the Volumio “Library” menu > “Nas mounts” to successfully access that share:
Source name: u2 (this causes the mounted drive to show up as /mnt/NAS/u2 on Volumio – technically known as the “mount point”; it can be anything you want)
fileshare protocol: SMB/CIFS
IP address: 192.168.x.x (change as appropriate; you might need to check your router to find out the ip number of the machine providing your share)
Remote directory: U (IMPORTANT to note thats the name of the SHARE I setup in the Synology NAS and its NOT the name of any actual directory or the above “source name”; took me a while to figure that one out)
Username: xxxx (change as appropriate)
Password: ***** (change as appropriate)
Click on “advanced options” to show them (YMMV with these):
Mount flags: cache=strict,ro,noatime,dir_mode=0777,file_mode=0777
Then click [Save Mount]
The disk is mounted READONLY but for music playback that is fine by me. Its been rock solid once I got it right. It did take a bit of fussing about to get right so do persist. At the root of the share there is a directory named MUSIC which contains all my stuff. So the the Volumio “Browse” Tab I navigate to NAS > u2 > MUSIC and then through my folders to select what I want (my music is fairly well organised but not tagged properly; works for me).
Hope this helps someone else get their pesky smb mounts working in volumio.