fstab problem

I installed xbian on the Pi in order to use it as a network music player with mpd. Everything works fine besides one thing:

I mount a folder from my NAS on the Pi with this /etc/fstab entry.

//192.168.1.2/alles/Archiv /home/xbian/musik cifs auto,rw,uid=mpd,credentials=/etc/samba/mpd.credentials 0 0

When I sudo mount -a the mount is working, when I reboot the Pi it's not, I have to sudo again. Any idea, why this is not working the way it's supposed to be?

- j -

--
Mail address is valid for a limited time only. 

And now for something completely different...
Reply to
Joerg Walther
Loading thread data ...

Checked that the white space in the fstab file is correct? v I've fallen foul of that in *tab files before but on other systems not a Pi.

--
Cheers 
Dave.
Reply to
Dave Liquorice

First guess would be that networking is not up when fstab is evaluated. How did you configure networking? Are you connected via wifi or cable? Content of /etc/network/interfaces might help other people helping you.

Do the logs mention something about samba or mount?

dmesg | grep -e mount -e samba -e smb -e cifs

Reply to
Stefan Enzinger

My guess too. I NFS mount a similar distro and it usually takes a fair amount of time to pop up on the desktop: I surmise it keeps retrying...

--
Ineptocracy 

(in-ep-toc?-ra-cy) ? a system of government where the least capable to  
lead are elected by the least capable of producing, and where the  
members of society least likely to sustain themselves or succeed, are  
rewarded with goods and services paid for by the confiscated wealth of a  
diminishing number of producers.
Reply to
The Natural Philosopher

Cable, and yes, networking isn't up. I placed the mount command in /etc/rc.local and now it's working.

- j -

--
Mail address is valid for a limited time only. 

And now for something completely different...
Reply to
Joerg Walther

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.