From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d50f84077db8f29a X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-08 09:10:11 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!ub!acsu.buffalo.edu!cs.Buffalo.EDU!ajay From: ajay@cs.Buffalo.EDU (Ajay Shekhawat) Subject: Re: Automounter woes! Message-ID: Originator: ajay@albali.cs.buffalo.edu Sender: ajay@cs.Buffalo.EDU Nntp-Posting-Host: albali.cs.buffalo.edu Reply-To: ajay@cs.Buffalo.EDU Organization: Center of Excellence for Document Analysis and Recognition X-Newsreader: TIN [version 1.2 PL2] References: Date: Tue, 8 Feb 1994 17:10:11 GMT [I figured out the problem, so I'm following up on my own post] Eric Werme USSG (werme@alingo.uucp) wrote: : ajay@cs.Buffalo.EDU (Ajay Shekhawat) writes: : >We got a DEC 3000/800 recently (the cartons are still lying outside my : >office), and I managed to get it running and on the network. However, the : >automounter behaves very strangely. For one, the automounted directories : >are inaccessible to everyone other than root! If anyone other than : >root accesses a mounted file system, we get this error: : > % ls : > NFS lookup failed for server XXXXXX: RPC: Authentication error : > NFS lookup failed for server XXXXXX: RPC: Authentication error : > . not found : One of these years I'll remember the usual fix. Generally these are : server export permission problems. What sort of system is the server, : what is in the exports file? The problem was that I happened to be in more groups than NFS would like (16). The solution: I removed myself from all the unnecessary groups, and everything is hunky-dorey now... : >While I'm out here begging for help, let me ask another one: How does : >one increase the size of the vnode table? This beast crashed once, with : >the "vnode table full" message. I changed the definition of NVNODE in : >param.c from : >#define NVNODE (NPROC + (2*MAXUSERS) + 128) : >(the ULTRIX definition) to : >#define NVNODE (((((2*NPROC)+ 16 + MAXUSERS) + 32)*2) + (NMOUNT+((8*NMOUNT)*2))) : >(the OSF/1 definition) : >Is this OK? The kernel built and runs without problems. : : We punted on the OSF definition because it makes so many more vnodes. What : sort of applications are you running that open a lot of files? How : many automount "intercept points" do you have (do "mount -e | grep '(pid' | wc". This figure comes out to just 1, but I guess I must be doing something wrong. We have a total of about 50 filesystems automounted. : Each mounted file system (including those automount intercepts) use up : two vnodes, and is often the culprit. If the mount points are eating up : a lot, increasing NVNODE is okay. Otherwise you may want to increase : maxusers, as that increases a lot other things, like file structs, number : or processes, etc. The system crashed because 1 user was forgetting to close his open files. He was reading files in a loop, and didn't close() them before the next open(). (Of course, I found this out AFTER I had built the kernel!) Ajay -- ajay@cs.Buffalo.EDU