1829582 Members
1623 Online
109992 Solutions
New Discussion

automount

 
navin
Super Advisor

automount

Hello ,
I have an automaster entry like this.But it looks like i'm not able to access the home.Please let me know what is wrong.
# more /etc/auto_master
/net -hosts -nosuid,soft,nobrowse
/homes amdx.homes

amdx.homes is a nis map.

Thanks in advance
Learning ...
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: automount

Shalom,

So much useful information.

Perhaps compare your auto_master file to one on a system that works? Or is this the first time.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
navin
Super Advisor

Re: automount

Yes , this is the first system that we are going to use native automount (so far we have used berkly amd) on hpux system with home directoy as nis maps.

Could some one please give me an example entry that uses automount for home directory in a nis based systems


Thanks
Learning ...
palaniappan.sp
Regular Advisor

Re: automount

Hi navin,

I hope from the below link u may get ur details.
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1121965
while providing information.Try to provide with full details of ur setup.It will be easy for the people to give solution.


Regds
Palani

Everything is Possible and Anything is Feasible if u try
Mark Ellzey
Valued Contributor

Re: automount

Navin,

You haven't given us much to go on.

1. Is the system the NIS master, slave or client?
2. What does the file amdx.homes contain?
3. Where is amdx.homes?
4. Is your automaster file really 'automaster' or 'auto_master' or 'auto.master'.
5. What about your /etc/nsswitch.conf file? What does it contain?
6. If this is the NIS client, are you sure that the contents of the amdx.homes map is exported on the server?

All these questions are important and without this information, your question cannot be answered.

Mark

navin
Super Advisor

Re: automount

1. Is the system the NIS master, slave or client?
System is a slave
2. What does the file amdx.homes contain?
it is nis home directory map,here is the example entry
zhangsx1 rhost:=rmas;rfs:=/vol/vol1/rmas.105/${path}
3. Where is amdx.homes?
/var/yp/domainname
4. Is your automaster file really 'automaster' or 'auto_master' or 'auto.master'.
auto_master is also a nis map
the default automaster file contains entry as below
+auto_master
5. What about your /etc/nsswitch.conf file? What does it contain?
it has files and nis for automount and all other stuffs
6. If this is the NIS client, are you sure that the contents of the amdx.homes map is exported on the server?
yes ,this system is a slave. Also able to map the home manually.

Thanks Much
Learning ...