home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / ultrix / 8198 < prev    next >
Encoding:
Text File  |  1992-11-09  |  3.0 KB  |  79 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!utcsri!torn!watserv2.uwaterloo.ca!watmath!watcgl!idallen
  3. From: idallen@watcgl.uwaterloo.ca (Ian! D. Allen [CGL])
  4. Subject: Re: Summary: AMD for Risc Ultrix?
  5. Message-ID: <BxHBB9.Krn@watcgl.uwaterloo.ca>
  6. Reply-To: idallen@watcgl.uwaterloo.ca (Ian! D. Allen [CGL])
  7. Organization: Computer Graphics Lab, University of Waterloo, Ontario, CANADA
  8. References: <BvtIF8.2K6@umassd.edu> <Bw852o.4Iz@umassd.edu>
  9. Date: Tue, 10 Nov 1992 02:37:56 GMT
  10. Lines: 67
  11.  
  12. We played a bit with amd.  We have a Lab of some 40 Unix machines, and we
  13. want to permit complete cross-mounting of all file systems on all
  14. machines, so our /etc/exports files are large.  A sample:
  15.  
  16.      282    1205   18326 /etc/exports
  17.  
  18. The Ultrix /etc/mountd can't handle the "show me your exported file
  19. systems" RPC call that AMD uses for "host"-type mounts.  Our Ultrix
  20. /etc/mountd kept dying, even on Ultrix 4.2 (RISC):
  21.  
  22.      ULTRIX V4.2 (Rev. 96)
  23.  
  24. I posted this bug last year.  It's still there.  At the time, I
  25. thought it was a problem with the automounter.  Now I realize it's a
  26. problem with /etc/mountd on every version of Ultrix up to the present.
  27.  
  28. |Newsgroups: comp.unix.ultrix
  29. |Date: Mon, 21 Oct 1991 23:05:50 GMT
  30. |From: "Ian! D. Allen [CGL]" <idallen@watcgl.waterloo.edu>
  31. |Subject: 4.1 automount or RPC can't handle big /etc/exports files
  32. |
  33. |ULTRIX V4.1 (Rev. 52) has problems with large exports files.
  34. |
  35. |We have ones like this:
  36. |
  37. |     225     977   14886 /etc/exports
  38. |
  39. |that do this:
  40. |
  41. |------------------
  42. |myhost# automount -v -T /path -hosts -ro,intr,soft
  43. |myhost# ls /path/xxx
  44. |GETATTR call(fh=[325, 688082717, 4])
  45. |GETATTR return(stat=NFS_OK, type=2, mode=40555, nlink=1, uid=0, gid=0,size=512,
  46. |blocksize=512, rdev=0, blocks=1, fsid=0, fileid=4, atime=Mon Oct 21 18:05:17 199
  47. |1, mtime=Mon Oct 21 18:05:17 1991, ctime=Mon Oct 21 18:05:17 1991)
  48. |LOOKUP call(fh=[325, 688082717, 4], name=xxx)
  49. |rpc timed outLOOKUP return(stat=NFSERR_NOENT)
  50. |/path/xxx: No such file or directory
  51. |------------------
  52. |
  53. |The simplest example I could come up with to reproduce the bug is to
  54. |make xxx:/etc/exports contain 600 lines of the form:
  55. |
  56. |       /  myhost
  57. |       /  myhost
  58. |       /  myhost
  59. |       /  myhost
  60. |       [...for 600 lines or so...]
  61. |
  62. |Then you'll get the above automount failure when trying to automount
  63. |from host "xxx" onto host "myhost".  If you trim xxx:/etc/exports down
  64. |to, say, 400 lines -- the automount succeeds.
  65. |
  66. |In all cases a direct "mkdir /tmp/foo && mount xxx:/ /tmp/foo" succeeds.
  67. |
  68. |I've tried various things and the problem seems to be related to the size
  69. |in bytes of the exports file.  The number of entries isn't as relevant; a
  70. |few huge entries are as bad as the above case of a zillion small ones.
  71. |
  72. |Obviously a big /etc/exports file is messing up some DEC Ultrix 4.1
  73. |RPC program with a small buffer size in it.
  74.  
  75. #include <dec/spr.h>
  76. -- 
  77. -IAN! (Ian! D. Allen)  idallen@watcgl.uwaterloo.ca  [129.97.140.64]
  78.  Computer Graphics Lab/University of Waterloo/Ontario/Canada (519)888-4534
  79.