SUMMARY: NIS/YP partial problem

From: Christopher L. Barnard <cbar44_at_tsg.cbot.com>
Date: Fri Oct 01 2004 - 14:20:30 EDT
I asked

> I am trying to figure out why I recently stopped being able to mount certain
> filesystems from the auto_tools map on my desktop workstation.
>
> My desktop is bound properly.
> 13 shalmaneser!/ >> ypwhich
> wintermute.tsg.cbot.com
>
> The automount master map correctly refers to the /tools mountpoint.
> 14 shalmaneser!/ >> ypcat -k auto.master
> /tools auto_tools       -nosuid,nobrowse
> /home auto_home       -nosuid,nobrowse
>
> The auto.tools map is propogating properly.
> 15 shalmaneser!/ >> ypcat -k auto.tools
> [...]
> src wintermute:/opt/src
>
> wintermute is sharing the filesystem:
> 7 wintermute!/opt >> share
> -               /opt   rw=tsgmachs   ""
> [...]
>
> My desktop is in the tsgmachs netgroup:
> 17 shalmaneser!/ >> ypmatch -k tsgmachs netgroup
> tsgmachs: tsgsrvr         tsgclient1    tsgclient2      tsgclient3
> 18 shalmaneser!/ >> ypmatch -k tsgclient2 netgroup
> tsgclient2: [lots of additional hosts deleted] (shalmaneser.tsg.cbot.com,-,tsg.cbot.com)  [more hosts deleted.  Shalmaneser is in the middle of the map]
>
> other NIS maps work.
> 20 shalmaneser!/ >> ypcat -k auto.home | grep cbar44
> cbar44 wintermute:/home2/cbar44
> 21 shalmaneser!/ >> cd /home/cbar44
> 22 shalmaneser!/home/cbar44 >>
>
> but if I try to mount /tools/src, it fails:
> 23 shalmaneser!/ >> cd /tools/src
> ksh: /tools/src:  not found
>
> Why would the auto.tools map be failing?  I have already stopped and restarted
> NIS on my desktop and on the server, as well as re-pushing the map.
>
> TIA, and I will summarize.

The solution:

after the last reboot, the /tools directory was changed from
(~) shalmaneser 88 % df /tools
/tools             (auto_tools        ):       0 blocks        0 files
to
/tools             (/dev/dsk/c0t0d0s0 ):  200762 blocks   100872 files

I rmdir the /tools directory, recreated it, and automount -v.  All is well
again.

Thanks to:
Sun.  No one on the list was able to help, unfortunately.  I ended up
opening a ticket with Sun.

+-----------------------------------------------------------------------+
| Christopher L. Barnard         O     When I was a boy I was told that |
| cbarnard@tsg.cbot.com         / \    anybody could become president.  |
| (312) 347-4901               O---O   Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard                --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Oct 1 14:20:21 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:38 EST