I'm trying to track down whether the client address is ever being set in a NFS request. I've checked with build 117, 112, 109, 85, and now I'm trying 79a. I've got a VMWare image running on a laptop. But for some reason my probe isn't loading:
# ./req.d dtrace: failed to compile script ./req.d: line 3: probe description ::rfs_dispatch:entry does not match any probes # dtrace -f rfs_dispatch dtrace: invalid probe specifier rfs_dispatch: probe description ::rfs_dispatch: does not match any probes
A clue can be found here:
# share #
The clue is that with no shares loaded, then the 'nfssrv' module is not loaded. If we create a share, we see:
# share -F nfs -o rw,anon=0 /export/home # dtrace -f rfs_dispatch dtrace: description 'rfs_dispatch' matched 2 probes ^C # ./req.d dtrace: script './req.d' matched 1 probe
We have success!