* Automounter woes!
@ 1994-02-05 23:10 Ajay Shekhawat
1994-02-08 15:05 ` Eric Werme USSG
0 siblings, 1 reply; 3+ messages in thread
From: Ajay Shekhawat @ 1994-02-05 23:10 UTC (permalink / raw)
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
What gives? The relevant line from the automountmap file reads:
<name> -rw,intr,nosuid,quota <server>:/<name>
The machine is running OSF/1 v1.3
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.
And one final question: Is there any utility to monitor kernel parameters?
Any help would be appreciated! (I'm outta here.....)
Ajay
--
ajay@cs.Buffalo.EDU
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Automounter woes!
1994-02-05 23:10 Automounter woes! Ajay Shekhawat
@ 1994-02-08 15:05 ` Eric Werme USSG
1994-02-08 17:10 ` Ajay Shekhawat
0 siblings, 1 reply; 3+ messages in thread
From: Eric Werme USSG @ 1994-02-08 15:05 UTC (permalink / raw)
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?
>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".
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.
>And one final question: Is there any utility to monitor kernel parameters?
ps, vmstat, iostat, netstat, nfsstat are things we ship, syd and top are
lurking around the Internet. Also look into kdbx's extensions.
--
Eric (Ric) Werme | werme@zk3.dec.com
Digital Equipment Corp. | This space intentionally left blank.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Automounter woes!
1994-02-08 15:05 ` Eric Werme USSG
@ 1994-02-08 17:10 ` Ajay Shekhawat
0 siblings, 0 replies; 3+ messages in thread
From: Ajay Shekhawat @ 1994-02-08 17:10 UTC (permalink / raw)
[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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-02-08 17:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox