SUMMARY: NIS/YP partial problem

From: Christopher L. Barnard (cbar44_at_tsg.cbot.com)
Date: 10/01/04

  • Next message: Christopher L. Barnard: "SUMMARY: changing the syslog facility for in.ftpd"
    Date: Fri, 1 Oct 2004 13:19:47 -0500 (CDT)
    To: sunmanagers@sunmanagers.org
    
    

    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


  • Next message: Christopher L. Barnard: "SUMMARY: changing the syslog facility for in.ftpd"

    Relevant Pages

    • NIS/YP partial problem
      ... 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. ... The automount master map correctly refers to the /tools mountpoint. ... other NIS maps work. ...
      (SunManagers)
    • Re: [PATCH] Teach do_mpage_readpage() about unwritten buffers
      ... Allows setup_swap_extentsto use preallocated files on XFS ... filesystems for swap files without ever needing to convert them. ... * Map blocks using the result from the previous get_blocks call first. ...
      (Linux-Kernel)
    • Re: How map harddisks to filesystems?
      ... how do I map the harddisks ... > to the filesystems ... PV you'd use 'lspv -l hdisk0': ...
      (comp.unix.aix)
    • Mapping a share from Unix to XP using MS SERVICES FOR UNIX.
      ... I am running Solaris 8 on SunFire V-440s. ... I need to be able to map a drive from my Sun box to the ... load software and files on the Sun box without having to fly to Orlando ... We have installed MS SFU on the Dell workstation under XP O/S. ...
      (comp.unix.solaris)
    • Re: TR - An Teallach
      ... off in cool, April sun, and went into cloud, as we huddled round the ... Garmin & the 1:50k OS map certainly ... taken on LBS in brilliant sun for entry into "Extreme Wine Tasting" ...
      (uk.rec.walking)