stfsdebug

Enables or disables the logging of file-system-driver debug messages in the syslog for the specified virtual client for AIX®. Note that the equivalent command for the Solaris operating system is the sanfs_ctl trace command.

Read syntax diagramSkip visual syntax diagram
>>-stfsdebug--+-on--+---- -kmname--kernel_ext_name-------------->
              '-off-'

>--+---------------------------+-------------------------------><
   '- -class--debug_class_name-'

Parameters

on
Enables the logging debug messages in the syslog.
off
Disables the logging of debug messages in the syslog.
–kmname kernel_ext_name
Identifies kernel-extension name of the file-system driver associated with the virtual client.

The file-system driver is loaded as a kernel extension. To identify the instance of the file-system drive, you identify the kernel extension. Each kernel extension has a name, but this name is not unique. This name is usually the file name of the object file from which you loaded the kernel extension (for example, /usr/tank/client/bin/stfs).

–class debug_class_name
Identifies the class name for debug messages. If not specified, this command applies all classes. You can specify any of the following values:
ATTR
File attribute information.
CONFIG
Driver initialization, termination, and control.
DISK
Disk configuration at client-creation time
IO
I/O operations.
MOUNT
FSIs and clients creation and destruction.
PAGER
Pager and items that give work to the pager.
RDWR
Reading from and writing to file cache.
RNGLOCK
Range lock information.
VFSOP
vfs operations, excl get root vnode
VNODE
Management of vnodes, gnodes, and stfsnodes.
VNODEOP
vnode operations, excl lookup, hold and release vnode.

Prerequisites

This task must be performed only by trained service technicians.

Example

Enable debugging on a client for AIX The following example enables the logging of file-system-driver debug messages in the syslog for the specified virtual client:
stfsdebug on -kmname /lib/stfs

Parent topic: Service commands and utilities

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.