>>- svctask -- -- settrace -- -- -type --+- mdisk -+-- ---------> '- vdisk -' >-- -file -- filename_arg -- -- -trigger --+- full ----+-- -----> +- status --+ +- command -+ +- timeout -+ +- trigger -+ '- abort ---' >--+----------+-- --+--------------+-- --+---------+-- ---------> '- -abort -' '- -timestamp -' '- -data -' >--+--------+-- --+-----------+-- --+---------+-- --------------> '- -tag -' '- -detect -' '- -init -' >--+----------+-- --+---------+-- ------------------------------> '- -sense -' '- -cmds -' >--+--------------------------+-- ------------------------------> '- -percent -- percentage -' >--+----------------------------------------------------+-- ----> '- -cmdlist -- cmd_list --+------------------------+-' '- -cmdmask -- cmd_mask -' >--+--------------------------------------------------------+-->< '- -skcqlist -- skcq_list --+--------------------------+-' '- -skcqmask -- skcq_mask -'
The full, status, and command options are valid for both MDisks and VDisks. The timeout and trigger options are only valid for MDisks. The abort option is only valid for VDisks.
This command sets the various I/O tracing options you want for a particular disk type, that is managed disks or virtual disks. When the relevant disk type trace is subsequently triggered, the options specify the data you want to include in the trace file.
The file name specifies a file name prefix for the trace file. The system appends the node panel name and a time-stamp to the file name. The node ID is the current configuration node.
A maximum of ten trace files will be kept on the cluster. When the eleventh trace is made, the oldest existing trace file is overwritten.
The directory may also hold files retrieved from other nodes. These files are not counted. SVC will delete the oldest file, when necessary, to maintain the maximum number of files.
An invocation example
svctask settrace -type vdisk -file tracedump -trigger abort -percent 100 -abort -timestamp
The resulting output
No feedback