NIS, Automounter and NFS
From: scorpioboii (scorpioboii_at_hotmail.com)
Date: 07/29/05
- Next message: Ad: "Re: problems with large files"
- Previous message: Michael Surette: "Re: problems with large files"
- Next in thread: Lawrence DčOliveiro: "Re: NIS, Automounter and NFS"
- Reply: Lawrence DčOliveiro: "Re: NIS, Automounter and NFS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Jul 2005 16:12:17 -0700
Hi:
I have had significant difficulties getting my RedHat linux clients(EL
3.0) to automount home directories that are specified in NIS maps in a
NIS domain to which the client belongs.
Let me describe the situation more clearly:
My client, node1 is a NFS client of NFS server, nfs1, and a NIS client
of machine, nis1.
One node1:
In /etc/hosts there are ip records of both nis1 and nfs1.
In /etc/auto.master:
/home yp:auto.home
In /etc/auto.home:
+auto.home
In /etc/nsswitch.conf:
automount: file nis
Also on node1:
ypcat -k auto.home yeilds the entire content of the NIS auto.home
map.All the NIS maps are visible on the client node1.e.g.
ypcat -k auto.home
testuser nfs1:/export/home/testuser
and mounting:
mount -t nfs nfs1:/export/home/testuser /mnt
works well, so it apperas NFS works well.
However, if I "cd /home/testuser" on the client i get an error stating
the directory does not exist.
Can anyone tell me how to get NIS, autofs and NFS working well together
so that I can specify the NFS mounts via the NIS maps to my client
machines so that autofs works like if I had specified the NFS mounts
via the local /etc/auto.home file? All machines are running RedHat
ENterprise Linux 3.
thanks in advance.
Larry
- Next message: Ad: "Re: problems with large files"
- Previous message: Michael Surette: "Re: problems with large files"
- Next in thread: Lawrence DčOliveiro: "Re: NIS, Automounter and NFS"
- Reply: Lawrence DčOliveiro: "Re: NIS, Automounter and NFS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|