Subject: dump vnode list using sysctl
To: None <tech-kern@netbsd.org>
From: Ruibiao Qiu <ruibiao@arl.wustl.edu>
List: tech-kern
Date: 01/29/2001 16:49:55
Hi, all

I am trying to find out why our NFS server (NetBSD 1.4.1
i386) stops working. The error is due to failure to convert NFS
file handle to vnode pointer as my trace
(in src/sys/nfs/nfs_subs.c) indicated.  It returns ESTALE after
VFS_CHECKEXP().  I think that mp return earlier may be not right.
I checked src/kern/vfs_subr.c, and found that there is a way to
dump vnode list by sysctl command (sysctl_vnode()).  How can I use 
sysctl to dump the list?  Thanks.

          Regards

            Ruibiao