Operating System - HP-UX
1833747 Members
2409 Online
110063 Solutions
New Discussion

NFS activity log under 11.11

 
SOLVED
Go to solution
Francis Noël
Regular Advisor

NFS activity log under 11.11

Greetings !

I'm trying to get an activity log for the 11.11 NFS server.

So far I'v tried adding the following to /etc/rc.config.d

LOCKD_OPTIONS="-l /var/adm/syslog/lockd.log"
STATD_OPTIONS="-l /var/adm/syslog/statd.log"
MOUNTD_OPTIONS="-l /var/adm/syslog/mountd.log -t3"

So far only mountd.log is cooperating.

Is there a way to have nfsd itself log all file creations, deletions, failed requests and such under 11.11 ?

Thanks
3 REPLIES 3
spex
Honored Contributor

Re: NFS activity log under 11.11

Hello,

See "Logging and Tracing of NFS Services" from the "NFS Services Administrator's Guide":
http://docs.hp.com/en/5992-0715/ch08s05.html

Did you kill and restart the rpc daemons after modifying /etc/rc.config.d/nfsconf?

# kill -SIGTERM $(UNIX95= ps -C rpc.lockd -o pid=)
# kill -SIGTERM $(UNIX95= ps -C rpc.statd -o pid=)
# /sbin/init.d/nfs.server start

What happens when you toggle logging on/off?

# kill -SIGUSR2 $(UNIX95= ps -C rpc.lockd -o pid=)
# kill -SIGUSR2 $(UNIX95= ps -C rpc.statd -o pid=)

PCS
Dave Olker
Neighborhood Moderator
Solution

Re: NFS activity log under 11.11

> Is there a way to have nfsd itself log all
> file creations, deletions, failed requests
> and such under 11.11 ?

No. This level of nfsd logging arrived in HP-UX 11.31 (11i v3) via the nfslogd daemon.

http://docs.hp.com/en/B2355-60130/nfslogd.1M.html



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Francis Noël
Regular Advisor

Re: NFS activity log under 11.11

Thanks guys

You both pretty much confirmed my suspicions.