MinimServer Forum
How to point MinimServer at a SMB network share for its music directory - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: How to point MinimServer at a SMB network share for its music directory (/showthread.php?tid=2017)



How to point MinimServer at a SMB network share for its music directory - rhoering - 30-11-2014 17:58

NOTE: Please remember this worked for me but that your mileage may vary.

Check to see if you have cifs-utils installed.

To do so I verify if the mount helper is present in /sbin:

$ ls -al /sbin | grep mount.cifs
-rwsr-xr-x 1 root root 34568 Jun 27 2013 mount.cifs



If this returns nothing then install cifs-util:

$ sudo apt-get install cifs-utils


Create and permission the mount point directory:

$ sudo mkdir /path/to/mountPoint/smbmusic
$ sudo chmod -R 777 /path/to/mountPoint/smbmusic
$ sudo chown -R nobody:nogroup /path/to/mountPoint/smbmusic



Mount the SMB share on the mount point you created.

If the share has guest access I use:

$ sudo mount -t cifs //IP-address-or-hostname/music /path/to/mountPoint/smbmusic -oguest

If the share is secured the general command is:

$ sudo mount -t cifs //IP-address-or-hostname/music /path/to/mountPoint/smbmusic –ousername=userName,workgroup=workGroup,password=passWord


Now you can add your mounted SMB share to MinimServer.

In the example I entered "/path/to/mountPoint/smbmusic"