Use the setdisktrace command to set a list of disks of a given type, to include in a disk trace.
>>- svctask -- -- setdisktrace -- -- -type --+- mdisk -+-- -----> '- vdisk -' >--+- -set ---+-- --+- -all ----------------------+-------------> '- -reset -' '- -objectid id_or_name_list -' >--+- -objectid---------+-------------------------------------->< '- -id_or_name_list -'
The setdisktrace command marks the disks to be included in the next triggered trace.
The command is used with the svctask settrace command, which sets the options that result in a trace file and the data that is included in the trace file.
An invocation example
svctask setdisktrace -type mdisk -objectid mdisk1:mdisk3:mdisk11:mdisk10:mdisk9:mdisk5 -reset
The resulting output
No feedback