home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5536 < prev    next >
Encoding:
Text File  |  1992-09-11  |  5.0 KB  |  101 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!e40-008-9.MIT.EDU!vikki
  3. From: vikki@e40-008-9.MIT.EDU (Vikki King)
  4. Subject: Re: Trouble using an NFS filesystem
  5. Organization: J. Random Misconfigured Site
  6. References: <BuDutI.32z@Novell.COM>
  7. Message-ID: <1992Sep11.180345.14451@sol.ctr.columbia.edu>
  8. Sender: nobody@ctr.columbia.edu
  9. X-Newsreader: Tin 1.1 PL4
  10. Date: Fri, 11 Sep 1992 18:03:45 GMT
  11. X-Posted-From: e40-008-9.mit.edu
  12. X-Posted-Through: sol.ctr.columbia.edu
  13. Lines: 86
  14.  
  15. Hey Hey!
  16.  
  17.     Thanks for the pointers Terry!  The problems were my syntax for the
  18. mount command and my permissions on the Netware/NFS server.  After fixing both,
  19. I can access everything.  I'm having some new difficulties now.
  20.     When I initially got priviledges set correctly, I was able to copy
  21. files as large as I wanted *to* an NFS filesystem.  However, I could only
  22. *read* successfully very small files from the NFS filesystem.  Anything larger
  23. that a few kilobytes >= ~25K and the read operation would hang.  I would
  24. get a message saying that the NFS server was not responding.  I checked the
  25. NFS server but it was fine.  I rebooted 386bsd and all was well again until I
  26. tried to do any king of reads of big files.  Same problem all over again.
  27. Several times while trying all this I even got some panics.
  28.     Well, I then remembered someone writing something about using the
  29. added options of -o rsize-4096, wsize=4096 when mounting.  Yayy!!  That
  30. helped out a lot.  I am now able to read most things, *except* REALLY
  31. big files, like the one I've tried so far is >50MB.  I get the same troubles
  32. with NFS errors and panics all over again.  Thinking that if a little is
  33. good more is better, I increased the rsize/wsize settings to 6144 first and
  34. then 8192 next.  That didn't help.  When set to 6144, Doing an extract against
  35. the etc01.?? files produced the error from extract that all of the files were
  36. corrupt.  At that point, I switched back to 4096, cat'd all the etc01.?? stuff
  37. to a .Z file, uncompressed it to 51MB, tried to cpio it by hand.  Again, the
  38. same crashing problems.  I finally ftp'd the 51MB file to my local disk and
  39. cpio'd it back onto a symbolic link to the NFS volume.
  40.     Do you think there are some problems with the NFS client part of
  41. 386bsd or do I just still have more to learn about NFS tuning? :-)
  42.  
  43. Overall, I have to say that I think this whole 386bsd thing is MOST coool!!!
  44.  
  45. -John
  46. jackson@a1.mec;.mass.edu
  47.  
  48. terry@thisbe.Eng.Sandy.Novell.COM (Terry Lambert) writes:
  49. : In article <1992Sep10.162146.1@woods.ulowell.edu> jackson@woods.ulowell.edu writes:
  50. : >Now, for something related:
  51. : > 
  52. : >After ifconfig'ing ec0 and successfully ftp'ing/ping'ing a host on our net,
  53. : >I am having problems trying to access an NFS server.  The NFS server is a
  54. : >netware 3.11 box with Netware NFS v1.1.  I can get the server volume to mount
  55. : >on the 386bsd filesystem and running df gives an accurate report of the space
  56. : >available, but I am unable to do anything in the directory where the NFS
  57. : >volume is mounted.  Trying to do an ls or cp'ing something into that directory
  58. : >just gives me a permission denied error.  Doing an ls -l of the mount
  59. : >directory after I've mounted the volume shows the privledges as being:
  60. : > 
  61. : > drwx------     4 root          512 Sep 9 16:30 mcet1/    
  62. : > 
  63. : >It would seem as if I had the proper privledges, right?  Last, if I explicitly
  64. : >try to mount the NFS volume by hand with the command line:        
  65. : > 
  66. : > # mount /bsd386/@mcet1: /mcet1 (I know, I know, it should be /386bsd/ :-) )
  67. : > 
  68. : >I get a message that reads "Can't get net id for host".  I can't figure out if
  69. : >I've got something set up incorrectly on the Netware NFS hosts's side or if
  70. : >the problem is somewhere in how I've configured the 386bsd system.  Anyone
  71. : >want to offer any suggestions?    
  72. : 1.    What are the permissions on the directory you are mounting over?  I
  73. :     suspect that you don't have permission.
  74. : 2.    This information implies that you are root trying to access
  75. :     something in a directory owned by root on a remote machine.  Have
  76. :     you done a "root=<client host name>" as an option on the exporting
  77. :     host?  If not, you are coming in as id -2 ("nobody") and will not
  78. :     be allowed to access the directory.  I realize that doing this is
  79. :     "a bit different" using NetWare as a server.
  80. : 3.    If you can't get an id for it, the host "mcet1" isn't in your hosts
  81. :     database.  If it is, perhaps the "<directory>@<host>" syntax is
  82. :     broken on your NFS.  Try "<host>:<directory>" instead.  One way
  83. :     this "break" might show up is your use of a ":" and an "@" in the
  84. :     same line, configuing BFS into thinking "/bsd386/@mcet1" was the
  85. :     host name and "" was the file name (the part with no whitespace
  86. :     seperator following the colon is empty in the line you gave).
  87. : Please post a followup telling which, if any of these, solved your problem.
  88. :                     Terry Lambert
  89. :                     terry_lambert@gateway.novell.com
  90. :                     terry@icarus.weber.edu
  91. : ---
  92. : Disclaimer:  Any opinions in this posting are my own and not those of
  93. : my present or previous employers.
  94.