Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Just set up a P133Mhz with RH9 as a music server for our house. Using MPD (awesome music daemon) and samba to access and play music shared on our network.
RIght now I'm mounting things in fstab, and it's working just fine - problem is our linux box is always-on, and people log on and off their pCS frequently - so I want to use autofs to keep the mounts current.
I've read the man pages and searched this forum for related questions - nada. autofs is installed and set to run on init, here are my auto.master and auto.music files:
To my thinking, this should do it, but I restart autofs and get:
# /etc/init.d/autofs status
Configured Mount Points:
/usr/sbin/automount --timeout 60 /mnt/Music file /etc/music.misc
Active Mount Points:
/usr/sbin/automount --timeout 10 /mnt/Music file /etc/music.misc
I don't know what /usr/sbin/automount is, but when I cd into /mnt/Music, there's nothing there.
I have a few ideas, can someone confirm/deny/help me?
Is the stupid windoze server waiting for a user name and password that don't exist, and I can't seem to specify?
I read a howto that said autofs used a temp dir /.autofs, but the howto was 3 years old and autofs didn't create any such directory on installation, so I left it that way.
Your solution here...
I got some time, and looked into both of my suspicions. Didn't help. THe files now look like this:
/mnt/Music file:/etc/auto.music --timeout=60
Active Mount Points:
/usr/sbin/automount --timeout 60 /mnt/Music file /etc/auto.music
And there's nothing in the mnt/Music directory.
I also tried having the auto.master file refer to 3 seperate config files, each with only one of the above mount points specified, inc ase maybe it was the multiple-mount thing confusing it - no result.
I read somewhere that it's OK to mount multiple NFS to the same point - is this wrong?
Also di an apt-get upgrade, just to make sure I've got current versions - smb updated, but didn't help matters.
Thanks for the response!
I'm still a little confused, though. My windows machines don't have usernames/passwords set up - when I mount with mount -t smbfs, it odesn't prompt for user, then prompts for password, to which I hit enter. and it mounts.
I tried specifying username=,password= but it didn't like that - authentication failed.
Then I specified username=guest,password=
and in the booting process it said: Mounting SMB Filesystems... [OK]
But when it booted, there was nothing in /mnt/Music (the directory I tried to mount to)
Also, you mentioned automount referencing fstab?? I'm confused - I thought they were two seperate entities, fstab for boot-based mounting, autofs for dynamic mounting.
There's no autofs example in smb.conf, thanks for the tip though.
Do you have automount working under similar conditions? Would you post your auto.master and auto.* files as examples? Or a sample fstab entry the somehow invokes automount?