Operating System - Linux
1829249 Members
2022 Online
109987 Solutions
New Discussion

nis auto.direct map not working in Redhat linux

 
jane zhang
Regular Advisor

nis auto.direct map not working in Redhat linux

Hi all,

I recently installed redhat linux 9 and join it in our NIS domain.

The box has no problem to see all the NIS maps.
# ypcat -k auto.direct
/apps fileserver1:/sun4/apps
/opt fileserver2:/sun4/opt

# ypcat -k auto.master
/- auto.direct -soft
/net -hosts -soft
/home auto.home -soft

The box also have /etc/auto.master
# cat /etc/auto.master
/home yp:auto.home

# cat /etc/nsswitch.conf | grep automount
automount: files nis

I got users' homes to automount on this machine work fine.

But could not direct mount /apps and /opt.

if I "cd / " and then " ls"

I saw "-" listed as a file there.

# ls
- bin boot dev etc home initrd lib

Can you help me with the auto.direct mounting problems. We have sun and hp machines. all work fine.


Thanks, Jane




2 REPLIES 2
Brian Hackley
Honored Contributor

Re: nis auto.direct map not working in Redhat linux

Jane,

Most Linux aren't supporting direct Maps
for AutoFS file systems which explains the behaior tha you see.

Regards,

-> Brian Hackley
Ask me about telecommuting!
jane zhang
Regular Advisor

Re: nis auto.direct map not working in Redhat linux

Brian,

Thanks for the verification.

Currently, we configure those linux boxes only as computing box, all the application software would be installed in a hpux file server.

How can I achieve this? automounting the installation in HPux from the linux box?

Thanks.