View previous topic :: View next topic |
Author |
Message |
tenspd137 Guru
Joined: 22 Aug 2006 Posts: 391
|
Posted: Fri Nov 21, 2008 6:27 am Post subject: autofs won't mount home directory - help diagnosing problem |
|
|
Hello all,
I have a small network of coomputers at home, and I have one of the that acts as a NIS server and the other two clients. I try to use autofs to mount /home/(user) on login, but for some reason this is not working. I have tried to look for instructions, but sadly the wiki died and the instructions are gone. To try and keep things simple, my nsswitch is set so that
Code: |
passwd: compat nis
shadow: compat nis
group: compat nis
automount files
|
so the autofs program should look in /etc/autofs/ for auto.master and auto.home
auto.master is simply:
Code: |
/home /etc/autofs/auto.home
|
and auto.home is
Code: |
* -fstype=nfs,soft,intr,rsize=8192,wsize=8192,nosuid Krypton:/home/&
|
When I manually mount Krypton:/home to /home on client machine, I can then log into client from krypton without problems. If I use autofs, it does not work.
Can anyone help me figure out what I am missing?
Thanks! |
|
Back to top |
|
|
mgrela Tux's lil' helper
Joined: 26 Jul 2008 Posts: 123 Location: Polska
|
Posted: Sat Nov 29, 2008 9:59 am Post subject: |
|
|
Increase the log level (max is debug IIRC) for the automounter in /etc/conf.d/autofs, restart autofs and post the output which appears in /var/log/messages when trying to automount your home directory. _________________ Maciej Grela
You just keep on trying till you run out of cake. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Sun Nov 30, 2008 10:22 am Post subject: |
|
|
I don't think the use of the wildcard * is a very good idea. maybe you should name the share something else...anything else..like krypton_share, or some such.
For instance, these are my autofs shares: Code: | distfiles -fstype=nfs,rsize=8192,wsize=8192,soft,timeo=30,rw 192.168.0.130:/usr/portage/distfiles
seed-src -fstype=nfs,rsize=8192,wsize=8192,soft,timeo=30,rw 192.168.0.130:/mass_storage/01-kernel_seed_work_area
gen-root -fstype=nfs,rsize=8192,wsize=8192,soft,timeo=30,rw 192.168.0.115:/ | Of course, they all correspond to properly shared files from NFS running on the systems in question. I'd check into that if I were you.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|