Mounting drives on linux

Just received my raspberry pis and trying to mount my shared folders but not having much luck so far.  Followed the instructions set out here - but receiving the error “mount(2): Protocol not supported…”.  Any ideas what I might be doing wrong?

Found the solution myself.  For some reason while the OP in linked thread needed to put full path (i.e. /mnt/HD) etc I just needed to put my local IP/share folder for it to work.

So my fstab file has been edited to include:

//[local.IP]/Audio /home/pi/Audio cifs credentials=/home/pi/.credentials,uid=1000,iocharset=utf8 0 0

Note with the “credentials=” part I seperately created a .credentials file with:

username=[WD user with access to share]

password=[user’s password]

Ran sudo mount -a and it is now all working fine with no errors.  What has been other folk’s experience with this - did you need to put full path name or just the shared folder name?

1 Like

Thank you very much for sharing the solution and outcome. Hopefully this will be helpful to other Users as well.