Solved

Solaris NIS: Auto.direct not mounting “ksh: /mountpoint: not found”

Posted on 2006-11-03
3
1,059 Views
Last Modified: 2013-12-19
Hey!

So, I cannot get the auto.direct to function with an otherwise working NIS.  I inherited this setup, so I am be unfamiliar with parts of it.

Basically, we have automount maps for /home, /share and “auto direct”.  

The home and share works flawlessly, but the auto.direct was filled with mounts that were no longer available (all to a non-existent server.)

I emptied out all the non-existent mounts and added a couple of existing ones, pushed out the map but the mounts won’t work.

When I “ypcat –k auto.direct” on any of the client machines, it shows the correct changes...but when I go to /mountpoint...I get a “/mountpoint: not found” error.  

It doesn’t matter if I mkdir a “/mountpoint” dir on the client (Solaris in this case) or not.

It also doesn’t matter if I restart “/etc/init.d/autofs” or “/etc/init.d/nscd” (solaris client)

Here’s what the auto.master looks like:
/-   auto.direct
/home   auto.home
/share   auto.share

What am I missing?

Thanks!
M
0
Comment
Question by:Mike R.
3 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 17878655
To use auto_direct, please have a look at the instructions in the following doc:
http://docs.hp.com/en/5990-7199/ch03s06.html

(It is for HP-UX, it can also apply to Solaris).

also please check your /etc/nsswitch.conf to make sure automount use "nis"
eg:
automount: files nis

Here're some NIS FAQ/How-To  docs:
http://www.unix.org.ua/orelly/networking_2ndEd/nfs/ch09_02.htm
http://mleahu.home.cern.ch/mleahu/doc/unix/net/nis%20faq.htm
http://yolinux.com/HOWTO/NIS-HOWTO.html
http://www.softpanorama.org/Net/NIS/nis_maps.shtml
0

Featured Post

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let’s list some of the technologies that enable smooth teleworking. 
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now