Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: ajay@cs.Buffalo.EDU (Ajay Shekhawat)
Subject: Re: Automounter woes!
Date: Tue, 8 Feb 1994 17:10:11 GMT	[thread overview]
Message-ID: <CKx110.BM0@acsu.buffalo.edu> (raw)
In-Reply-To: werme.760719932@alingo.zk3.dec.com

[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



      reply	other threads:[~1994-02-08 17:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-02-05 23:10 Automounter woes! Ajay Shekhawat
1994-02-08 15:05 ` Eric Werme USSG
1994-02-08 17:10   ` Ajay Shekhawat [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox