Solved

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

Posted on 2006-11-03
3
1,055 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

743 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

11 Experts available now in Live!

Get 1:1 Help Now