LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-20-2004, 05:33 PM   #1
Rekna
Member
 
Registered: Mar 2004
Posts: 33

Rep: Reputation: 15
NIS and autofs with /home


I'd like to be able to have all /home directories automatically mounted on client machines placed on my nis network.

I'd like to have it all mounted under the normal /home directory however i seem to be having a problem. It doesn't mount the directory and when autofs tries to unmount it deletes my initrd directory causing a kerenel panic.

Here are my config files

#/etc/auto.master
/ auto.home --timeout 600

#/etc/auto.home
home -fstype=nfs 10.1.1.20:/home


this does not work, however if i change auto.master to this

#/etc/auto.master
/nfs auto.home --timeout 600

everything works fine and is mounted /nfs/home but this is not the behavoir i want. I want it all to be at /home. Any idea what is causing this problem or how i could change my config files to work correctly and not delete the initrd directory?
 
Old 06-20-2004, 11:34 PM   #2
Rekna
Member
 
Registered: Mar 2004
Posts: 33

Original Poster
Rep: Reputation: 15
I took a different approach to this and got it working the way i wanted to.


here are the configs i used

#/etc/auto.master
/home auto.home --timeout 600

#/etc/auto.home
* -fstype=nfs 10.1.1.20:/home/&
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
autofs with NIS lnchrs Linux - Networking 0 03-01-2005 03:36 PM
NIS home dir problm mgokulagiridara Linux - Enterprise 1 02-28-2005 07:44 AM
Linux autofs: can it work without NIS? kbshaq Linux - Networking 1 02-16-2005 08:52 PM
getting home directories to automount with NIS schurt Linux - Networking 3 04-23-2004 12:55 PM
Solaris serving NIS, NFS, autofs to RH7.3 joeljensen Linux - Networking 1 07-12-2002 07:28 PM


All times are GMT -5. The time now is 06:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration