home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16733 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!cgl!cgl.ucsf.edu!srp
  2. From: srp@cgl.ucsf.edu (Scott R. Presnell)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: automount mounts on ls
  5. Message-ID: <srp.722377368@cgl.ucsf.edu>
  6. Date: 21 Nov 92 20:22:48 GMT
  7. References: <orman.722110315@pv0238.vincent.iastate.edu>
  8. Sender: news@cgl.ucsf.edu (USENET News System)
  9. Organization: UCSF Computer Graphics Lab
  10. Lines: 38
  11.  
  12. orman@iastate.edu (David L Orman) writes:
  13.  
  14. >Automount mounts everything in a directory when you do an ls in the
  15. >mount points directory, that is really annoying is there some way around
  16. >it?
  17.  
  18. >ex:
  19. > I mount indy:/usr/indy  on /usr/indy on animate  and when I do an ls in
  20. >/usr it mounts it, which means I have to wait for them all to mount.  We
  21. >mount about 14 machines so this takes a while.
  22.  
  23. >Any suggestions?
  24.  
  25. It sounds like you're using a direct mount - if you want to see the
  26. attributes of the remote /usr/indy, then yes the automounter mounts it.
  27.  
  28. The other choice is to use an indirect mount.  If you indirectly mount
  29. indy:/usr/indy under /home on animate (or some such), you'll not trigger a
  30. mount by looking in /home, of course you'll not see anything under /home.
  31. You'll have to know that the automounter is waiting on /home, for a
  32. reference down into /home/indy.  If you're doing mounts for home
  33. directories - use an indirect mount.
  34.  
  35. In the situation you've described 14 direct mounts - you've just generated
  36. 28 or more RPC calls plus the 14 NFS getattr() calls for ls in less than a
  37. second.  Can you say "mount storm?"  I *knew* you could.
  38.  
  39. (It would be more efficent to simply leave the remote fs's statically
  40. mounted.)
  41.  
  42. If you have not already, I would stronly suggest reading the NFS/NIS
  43. Administration guide - especially those sections dealing with automounting.
  44.  
  45.     - Scott
  46.  
  47. -- 
  48.  
  49.     - Scott Presnell (srp@cgl.ucsf.edu)
  50.