# Problems mounting CIFS shares

**URL:** <https://community.volumio.com/t/problems-mounting-cifs-shares/191>\
**Category:** Help\
**Created:** [December 26, 2013, 8:34am UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191 "2013-12-26T08:34:47Z")\
**Posts on this page:** 17\
**Page:** 2

<div class="post-metadata">

**Author:** ![twlare](https://community.volumio.com/letter_avatar_proxy/v4/letter/t/ad7895/32.png) [@twlare](https://community.volumio.com/u/twlare)\
**Post date:** [February 19, 2014, 7:48pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/21 "2014-02-19T19:48:32Z")

</div>

> [@dante6913](#):
>
> > [@twlare](#):
> >
> > I am also having problems mounting a CIFS share on my network. I can’t find any way to get it to work using the Volumio GUI. I can manually mount the share through the command line, but, of course, I lose it when I reboot. I saw the comment about /etc/fstab and made the appropriate changes at the end of the file. If I manually mount everything using mount -a, I get my network share. If I reboot I also get my network share, but my changes to /etc/fstab get removed. The time stamp on /etc/fstab corresponds to the reboot time. It appears that Volumio is modifying the /etc/fstab file during boot up. If I reboot a second time I lose my network share because fstab has been restored to its original state.
> > 
> > Any suggestions on how to make a CIFS network share permanent?
> 
> Use mount.cifs command thru ssh, and after that you should mount your share thru web UI too. After you reboot, you should be able to see and acess your mounted share.

The problem is that I can not get the GUI to mount my network share. If I mount the directory manually and then go into the Volumio GUI it doesn’t show up and I need to add it. I’ve tried all the suggestions I found on the forums, but I always end up with a red check mark next to the mount point. The first error is always “username specified with no parameter.” My network drive has no user or password requirement so i leave these fields blank, but Volumio seems to require something. I then enter a user name and password and get to the next error “Unknown mount option “noatime”.” So I remove “noatime” from the Mount flags field and then I get “Input/output error.”

---

<div class="post-metadata">

**Author:** ![dante6913](https://community.volumio.com/letter_avatar_proxy/v4/letter/d/ad7895/32.png) [@dante6913](https://community.volumio.com/u/dante6913)\
**Post date:** [February 20, 2014, 1:41pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/22 "2014-02-20T13:41:29Z")

</div>

> [@twlare](#):
>
> > [@dante6913](#):
> >
> > > [@twlare](#):
> > >
> > > I am also having problems mounting a CIFS share on my network. I can’t find any way to get it to work using the Volumio GUI. I can manually mount the share through the command line, but, of course, I lose it when I reboot. I saw the comment about /etc/fstab and made the appropriate changes at the end of the file. If I manually mount everything using mount -a, I get my network share. If I reboot I also get my network share, but my changes to /etc/fstab get removed. The time stamp on /etc/fstab corresponds to the reboot time. It appears that Volumio is modifying the /etc/fstab file during boot up. If I reboot a second time I lose my network share because fstab has been restored to its original state.
> > > 
> > > Any suggestions on how to make a CIFS network share permanent?
> > 
> > Use mount.cifs command thru ssh, and after that you should mount your share thru web UI too. After you reboot, you should be able to see and acess your mounted share.
> 
> The problem is that I can not get the GUI to mount my network share. If I mount the directory manually and then go into the Volumio GUI it doesn’t show up and I need to add it. I’ve tried all the suggestions I found on the forums, but I always end up with a red check mark next to the mount point. The first error is always “username specified with no parameter.” My network drive has no user or password requirement so i leave these fields blank, but Volumio seems to require something. I then enter a user name and password and get to the next error “Unknown mount option “noatime”.” So I remove “noatime” from the Mount flags field and then I get “Input/output error.”

Did you ever try to set user=guest with no password in the the web UI?  
PS I allway get the red check next to the mount point but i’m able to update my library and browse and use my NAS.

---

<div class="post-metadata">

**Author:** ![LeChuck](https://community.volumio.com/letter_avatar_proxy/v4/letter/l/8edcca/32.png) [@LeChuck](https://community.volumio.com/u/LeChuck)\
**Post date:** [March 4, 2014, 8:36pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/23 "2014-03-04T20:36:17Z")

</div>

> [@dante6913](#):
>
> > [@joep](#):
> >
> > I hope someone can help me.  
> > I need to put in a username somewhere where do I do that?  
> > sudo mount.cifs [//192.168.0.199/share/Music](https://192.168.0.199/share/Music) /mnt/NAS —verbose -o password=PASSWD,rw,iocharset=utf8,sec=ntlm
> 
> I think it would be like this  
> sudo mount.cifs [//192.168.0.199/share/Music](https://192.168.0.199/share/Music) /mnt/NAS —verbose -o user=username,password=PASSWD,rw,iocharset=utf8,sec=ntlm

Just signed up to say a big thanks to everyone in this thread - this way of mounting has cured hours of headaches!

One thing I couldn’t work out was how to unmount the drive. I tried several things:

sudo umount -l /mnt/nas/  
sudo umount -l /mnt/nas/share/Music  
sudo umount -l /mnt/nas/share

but none of it worked? This is more for future reference and not an immediate thing.

---

<div class="post-metadata">

**Author:** ![malfunctious](https://community.volumio.com/letter_avatar_proxy/v4/letter/m/ecd19e/32.png) [@malfunctious](https://community.volumio.com/u/malfunctious)\
**Post date:** [June 25, 2014, 4:12pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/24 "2014-06-25T16:12:09Z")

</div>

Hello together

I am using two BBB’s with Volumio, one with an attached HD, the second syncs over cifs with the first’s HD.  
I had the same problem with putting up a share as described in the posttitle. After a little reading volumio now is syncing =)

Thank you all for sharing your experiences on this subject.

What I did:

SSH on 2nd volumio:

sudo apt-get update  
sudo apt-get install cifs-utils  
mount -t cifs [//192.168.1.xxx/share](https://192.168.1.xxx/share) /mnt/NAS -o rw,iocharset=utf8,sec=ntlm

‘xxx’ for your specific ip-ending and ‘share’ for the name of your music directory, if there are spaces between words as in ‘usb music’  
type ‘usb\ music’  
I got a password request, just hit enter.

2nd volumio webUI:  
ip: same as above, naturally  
remote directory: your share name, if there are spaces between words just type a space eg ‘usb music’  
username: guest  
no password  
in advanced options, mount flags: guest,sec=ntlm

---

<div class="post-metadata">

**Author:** ![Lag-na](https://community.volumio.com/letter_avatar_proxy/v4/letter/l/439d5e/32.png) [@Lag-na](https://community.volumio.com/u/Lag-na)\
**Post date:** [June 26, 2014, 7:05pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/25 "2014-06-26T19:05:25Z")

</div>

I also used cifs-utils in 1.2, but now I was able to use the GUI.  
remember to use lowercase share names  
try adding “ro,noatime,sec=ntlmv2” in the advanced options  
remember to do this on a new share, delete the old ones

Michelangelo: CIFS and Samba not the same? SMB and CIFS are protocols, Samba is a software package. What do you mean? any SMB/CIFS connection is done using Samba under Linux, no other option.

---

<div class="post-metadata">

**Author:** ![vromeoc](https://community.volumio.com/letter_avatar_proxy/v4/letter/v/94ad74/32.png) [@vromeoc](https://community.volumio.com/u/vromeoc)\
**Post date:** [November 23, 2014, 8:56am UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/26 "2014-11-23T08:56:58Z")

</div>

Dear Michelangelo i’m an italian ,florence user of volumio vers. 1.5 but also with 1.4 and 1.1 i hade issues on my raspberry , as I have never been able to mount my nas MyBookWorld wd . i don’t no how to access to raspberry p+ console from mac and wasn’t able to solve that via webGUI .the sound card is hifiberry + now .also i have a spotify premium account but even when i activate that in the system with user and password it doesn’t show up anywhere.  
please help in my mission to help friends with old cd to bring back to life music with the great Volumio solution …thanks in advance

valter

---

<div class="post-metadata">

**Author:** ![vromeoc](https://community.volumio.com/letter_avatar_proxy/v4/letter/v/94ad74/32.png) [@vromeoc](https://community.volumio.com/u/vromeoc)\
**Post date:** [November 23, 2014, 8:58am UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/27 "2014-11-23T08:58:53Z")

</div>

i forgot to say that i use a mac laptop.

---

<div class="post-metadata">

**Author:** ![Lag-na](https://community.volumio.com/letter_avatar_proxy/v4/letter/l/439d5e/32.png) [@Lag-na](https://community.volumio.com/u/Lag-na)\
**Post date:** [November 23, 2014, 11:42am UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/28 "2014-11-23T11:42:54Z")

</div>

The Mac has the application “Terminal” for that, but you should not need it anyway.  
Try following the instructions here:  
[smb-cifs-shares-volumio-t1461.html](http://volumio.org/forum/smb-cifs-shares-volumio-t1461.html)

If you have questions ASK HERE, not in that thread.

---

<div class="post-metadata">

**Author:** ![indylead](https://community.volumio.com/letter_avatar_proxy/v4/letter/i/76d3ee/32.png) [@indylead](https://community.volumio.com/u/indylead)\
**Post date:** [March 25, 2015, 4:22pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/29 "2015-03-25T16:22:43Z")

</div>

> [@Paul\_l](#):
>
> I figured out that the webUi does not know how to mount guest accounts. Since my router Linksys e3200 is using a guest account I have tried first in ssh the line :
> 
> mount -t cifs [//192.168.100.2/ambiental](https://192.168.100.2/ambiental) /mnt/test -o guest,sec=ntlm and worked
> 
> I tried than in WebUi, after unmount in ssh :
> 
> Ip : 192.168.100.2  
> remote directory : ambiental  
> username : guest
> 
> in advanced options I have removed all and replaced by : guest,sec=ntlm
> 
> Now the share is mounted . I suggest to adapt the WebUi also for guest account installation .

A noob follow up question - This worked to resolve the problem I had, but each time I reboot I need to remount the NAS drive.

Where would this command need to be placed so that it runs on boot up? Or rather, the ‘right’ place?

---

<div class="post-metadata">

**Author:** ![Eric355](https://community.volumio.com/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@Eric355](https://community.volumio.com/u/Eric355)\
**Post date:** [October 16, 2016, 12:37pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/30 "2016-10-16T12:37:20Z")

</div>

Hi,

I reflashed using V2.001 and everything is now working fine.

Many thanks,  
Eric

---

<div class="post-metadata">

**Author:** ![delanthear](https://community.volumio.com/user_avatar/community.volumio.com/delanthear/32/346_2.png) [@delanthear](https://community.volumio.com/u/delanthear)\
**Post date:** [December 13, 2016, 1:25pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/31 "2016-12-13T13:25:00Z")

</div>

I’ve just run into this. Mount was previous working fine and after I nuked my install by upgrading to the new broken test build, I reinstalled, and set everything up.

Once done, I need to move my PI over to there I run it from, so powered down and brought it back up in the new location. It was playing music fine, then stopped playing giving me decode errors. Looked at my library and the mount had dropped. Nothing I could do from the UI would bring it back up.

From the CLI I’m able to mount the drive fine, but not from the GUI? I’ve “factory reset” the install but still doesn’t work.

Only difference here is the first time it was mounted was via a network cable. New location using WiFi instead, but it did seem to play 2-3 tracks via there after moving it!

Any ideas? 😕  
 ![mount.PNG](https://community.volumio.com/uploads/default/original/2X/4/4f75a63229ef18f3292e6a48893b00d13be9af5d.png)

---

<div class="post-metadata">

**Author:** ![delanthear](https://community.volumio.com/user_avatar/community.volumio.com/delanthear/32/346_2.png) [@delanthear](https://community.volumio.com/u/delanthear)\
**Post date:** [December 13, 2016, 3:15pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/32 "2016-12-13T15:15:20Z")

</div>

Error when trying to mount;

CIFS VFS: cifs\_mount failed w/return code = -6

Sounds like it’s suddenly wanting me to provider usernames and passwords when the share doesn’t need one?

---

<div class="post-metadata">

**Author:** ![delanthear](https://community.volumio.com/user_avatar/community.volumio.com/delanthear/32/346_2.png) [@delanthear](https://community.volumio.com/u/delanthear)\
**Post date:** [December 13, 2016, 3:25pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/33 "2016-12-13T15:25:20Z")

</div>

😊

No idea how it was working originally, but the problem appeared to be that I was missing the last / off the path? 😒

---

<div class="post-metadata">

**Author:** ![DmaumauBR](https://community.volumio.com/user_avatar/community.volumio.com/dmaumaubr/32/14271_2.png) [@DmaumauBR](https://community.volumio.com/u/DmaumauBR)\
**Post date:** [March 10, 2022, 2:21pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/34 "2022-03-10T14:21:46Z")

</div>

Hello Everybody,

I´ve just set up a PI4 and Volumio 3.233 and I cannot set my NAS to work properly

It´s a D=Link 320l and, as everybody ele, it works flawlessly with windows and every other player in the network

Reading this topic, I tryed to mount manually by

> [@dante6913](#):
>
> sudo mount.cifs [//192.168.0.199/share/Music](https://192.168.0.199/share/Music) /mnt/NAS —verbose -o user=username,password=PASSWD,rw,iocharset=utf8,sec=ntlm

But I only get as a response that the Host is Down

I´ts been past 15 years since I used any Linux distro, so please cut me some slack, ok ?

Thank you in advance for any help

---

<div class="post-metadata">

**Author:** ![DmaumauBR](https://community.volumio.com/user_avatar/community.volumio.com/dmaumaubr/32/14271_2.png) [@DmaumauBR](https://community.volumio.com/u/DmaumauBR)\
**Post date:** [March 10, 2022, 3:18pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/35 "2022-03-10T15:18:52Z")

</div>

Solved it.

Just added vers=1.0 to the end of the command

And with some minor thinkering also volumio recognized the NAS

---

<div class="post-metadata">

**Author:** ![Wheaten](https://community.volumio.com/user_avatar/community.volumio.com/wheaten/32/33147_2.png) [@Wheaten](https://community.volumio.com/u/Wheaten)\
**Post date:** [March 10, 2022, 3:30pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/36 "2022-03-10T15:30:07Z")

</div>

In volumio you can do the same in the options field:  
rw,iocharset=utf8,sec=ntlm,vers=1.0

---

<div class="post-metadata">

**Author:** ![DmaumauBR](https://community.volumio.com/user_avatar/community.volumio.com/dmaumaubr/32/14271_2.png) [@DmaumauBR](https://community.volumio.com/u/DmaumauBR)\
**Post date:** [March 10, 2022, 6:16pm UTC](https://community.volumio.com/t/problems-mounting-cifs-shares/191/37 "2022-03-10T18:16:30Z")

</div>

Now I just need to make this mount permanent.

[Previous page](https://community.volumio.com/t/problems-mounting-cifs-shares/191.md?page=1)
