FLAC -fstype=cifs,file_mode=0777,dir_mode=0777,iocharset=utf8,rsize=2048,wsize=4096,cache=strict,username=,password= ://192.168.1.124/Music
this is what is on the file auto.nas ..
nas ip address is 192.168.1.124
Share directory is " Music " , which appears on my PC but can't mount on my raspyFi
I tried using a different sdcard but no luck so far …
I still cannot get this to work..I tried everything suggested in this thread? any more suggestions or any logs or anything?
Really hoping to have this solved soon..
Thank you for this great final version.
For the Network attached storage to get it to work I needed to install cifs-utils:
sudo apt-get install cifs-utils
(And maybe a missing equal sign in /etc/auto.master for the usb mount entry.. Not sure)
And maybe try this for a verbose output:
7. Debugging Auto Mount Problems
If you are having trouble automounting your file systems, it may be useful to run automount in the foreground.
Stop the autofs daemon
sudo service autofs stop
Run automount in the foreground with verbose information
sudo automount -f -v
From another terminal, try to mount your file-systems by changing directories into the mountpoint.
Check the output from the first terminal for clues as to why the mount failed or was not attempted.
chriz said
Heffa said
With RaspyFi beta I got this exact error until I installed cifs-utils (see my thread in the forum).
It worked after this, but in 1.0 final it's not helping eitherIt seems the thread you are referring to has been removed? could you send me the command line for uninstalling cifs-utils ?
Am I right that you made this work by removing cifs-utils and rebooting the system?
The thread is still here, but here is the steps to install cifs-util:
sudo apt-get update
sudo apt-get install cifs-utils
sudo service autofs restart
It's probably a good idea to restart the Pi as well, although I didn't have to do that.
Oh, forgot to mention that I also had to do
sudo ls /mnt/Nas/readynas
(where 'readynas' is my mountpoint, yours might be different) to get it mounted.
Maybe this info will have while some shares cannot be mounted on 1.0 Final
My first share is from a Pogoplug device with squeezeplug and samba enabled . I tried most if not all the tips given here and always unsuccessful , I have double checked the share name and tried multiple times w/ no sucess .. checking with automount in the foreground with verbose information
produced a " mount error 13 " . I was successful in mounting this share on the rc2 version.
My second share is from a PC running windows 7 and to my surprise on first try the " Share " was instantly recognized ..
So in summary I cannot mount the share from my Debian OS on pogoplug while I can mount the share from my Win 7 machine
Tried installing cifs-utils, and Here's my output from "sudo automount -f -v" and an attempt to create a NAS mount.. I guess I can ignore the USB errors… any good ideas how to make this work
Starting automounter version 5.0.7, master map /etc/auto.master
using kernel protocol version 5.02
mounted indirect on /mnt/NAS with timeout 6000, freq 1500 seconds
ghosting enabled
mounted indirect on /mnt/USB with timeout 10, freq 3 seconds
ghosting enabled
attempting to mount entry /mnt/NAS/.mpdignore
key ".mpdignore" not found in map source(s).
failed to mount /mnt/NAS/.mpdignore
re-reading map for /mnt/NAS
attempting to mount entry /mnt/NAS/music
>> mount error(95): Operation not supported
>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount(generic): failed to mount //192.168.1.120/TV_Serier (type cifs) on /mnt/NA S/music
failed to mount /mnt/NAS/music
attempting to mount entry /mnt/USB/.mpdignore
key ".mpdignore" not found in map source(s).
failed to mount /mnt/USB/.mpdignore
attempting to mount entry /mnt/USB/usb6
>> mount: special device /dev/sda2 does not exist
mount(generic): failed to mount /dev/sda2 (type auto) on /mnt/USB/usb6
failed to mount /mnt/USB/usb6
attempting to mount entry /mnt/USB/usb9
>> mount: special device /dev/sdd2 does not exist
mount(generic): failed to mount /dev/sdd2 (type auto) on /mnt/USB/usb9
failed to mount /mnt/USB/usb9
attempting to mount entry /mnt/USB/usb1
>> mount: special device /dev/sda1 does not exist
mount(generic): failed to mount /dev/sda1 (type auto) on /mnt/USB/usb1
failed to mount /mnt/USB/usb1
attempting to mount entry /mnt/USB/usb7
>> mount: special device /dev/sdb2 does not exist
mount(generic): failed to mount /dev/sdb2 (type auto) on /mnt/USB/usb7
failed to mount /mnt/USB/usb7
attempting to mount entry /mnt/USB/usb2
>> mount: special device /dev/sdb1 does not exist
mount(generic): failed to mount /dev/sdb1 (type auto) on /mnt/USB/usb2
failed to mount /mnt/USB/usb2
attempting to mount entry /mnt/USB/usb5
>> mount: special device /dev/sde1 does not exist
mount(generic): failed to mount /dev/sde1 (type auto) on /mnt/USB/usb5
failed to mount /mnt/USB/usb5
attempting to mount entry /mnt/USB/usb4
>> mount: special device /dev/sdd1 does not exist
mount(generic): failed to mount /dev/sdd1 (type auto) on /mnt/USB/usb4
failed to mount /mnt/USB/usb4
attempting to mount entry /mnt/USB/usb8
>> mount: special device /dev/sdc2 does not exist
mount(generic): failed to mount /dev/sdc2 (type auto) on /mnt/USB/usb8
failed to mount /mnt/USB/usb8
attempting to mount entry /mnt/USB/usb3
>> mount: special device /dev/sdc1 does not exist
mount(generic): failed to mount /dev/sdc1 (type auto) on /mnt/USB/usb3
failed to mount /mnt/USB/usb3
attempting to mount entry /mnt/USB/usb10
>> mount: special device /dev/sde2 does not exist
mount(generic): failed to mount /dev/sde2 (type auto) on /mnt/USB/usb10
failed to mount /mnt/USB/usb10
attempting to mount entry /mnt/NAS/.mpdignore
key ".mpdignore" not found in map source(s).
failed to mount /mnt/NAS/.mpdignore
statemachine:1363: got unexpected signal 28!
^Cumounted indirect mount /mnt/NAS
shut down path /mnt/NAS
umounted indirect mount /mnt/USB
shut down path /mnt/USB
autofs stopped
06:18
Same output here, and i can't find much information with
mount error(95): Operation not supported
>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount(generic): failed to mount
oddly enough mount.cifs doesn't seem to be a command. I don't see why there should be a man entry for it??
I've
sudo apt-get update, then dist-upgrade
sudo apt-get install cifs-utils
My share sits on OsX 10.8.4.
06:22
Same output here, and having no luck searching the web for:
mount error(95): Operation not supported
>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount(generic): failed to mount
Is mount.cifs really a man entry? It doesn't sound like a proper cmd to me.
I've
sudo apt-get update then dist-upgrade
and
sudo apt-get install cifs-utils
My SMB share sits on OS X 10.8.4
14:19
I found a way, here's my auto.nas :
"Synology -fstype=nfs,rw,soft,intr,rsize=2048,wsize=4096 192.168.1.28:/volume1/music"
And yes I have a Synology Nas, and i had to add NFS Privileges to my shared music folder.
Tell me about your experience.
Using Manual Edit this one worked for me finally
Pogo -fstype=cifs,iocharset=utf8,sec=ntlm,username=guest,password= ://192.168.1.124/Music:
16:19
admin said
Did you manually edit your auto.nas?
NFS is not supported currently, please use cifs
Yes I manually edited my auto.nas and it works like a charm.
Why do you say NFS is not supported ? Does it come with cifs-utils ?
The kernel is not optimized at all for NFS, but could be that in your setup is the best option. Thanks for the feedback, we'll try to replicate this…
jambam said
Using Manual Edit this one worked for me finally
Pogo -fstype=cifs,iocharset=utf8,sec=ntlm,username=guest,password= ://192.168.1.124/Music:
This worked for me as well – at least I can now access my files if I run updatempdDB manually…
/Christian
chriz said
jambam said
Using Manual Edit this one worked for me finally
Pogo -fstype=cifs,iocharset=utf8,sec=ntlm,username=guest,password= ://192.168.1.124/Music:This worked for me as well – at least I can now access my files if I run updatempdDB manually…
/Christian
This worked for me also, after installing cifs-utils as described in post 25 of this thread. Just started playing files, and seems working fine so far.
Experiencing the same problem.
I have a monitor connected to the pi as well as SSH and browsing to raspyfi. Have noticed on the monitor, that each time I try for NAS connection, get the line "cifs_mount failed w/return code = -13". After much googling, I found that the problem was that the program mount.cifs was missing (meant to be in /etc/sbin). So tried to "apt-get install cifs-utils" but then get error "E: Unable to locate package cifs-utils", so had to "apt-get update" then "apt-get install cifs-utils" and it did the install. Now that -13 error no longer appears.
Still don't seem to be access the NAS, but thought that this snippet may been worth passing on…
Most Users Ever Online: 200
Currently Online:
7 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Gyp: 82
yoghurtlidlicker: 37
PaulM: 36
icai: 35
Derek: 29
Karsten: 27
tc-fi: 22
Ronaldo: 21
ENSen: 21
chriz: 20
Member Stats:
Guest Posters: 3619
Members: 569
Moderators: 0
Admins: 1
Forum Stats:
Groups: 4
Forums: 10
Topics: 469
Posts: 13163
Newest Members: polo2016, dongdong8, wlpwlp, Sager, ninestab123, lmx66, lmx, jlgg, chenyan, guoyanying
Administrators: admin (401)