>>- svcinfo -- -- lserrlogbyvdisk -- --+--------------------+---> '- -count -- number -' >--+------------+-- --+----------+-- ---------------------------> +- -config --+ '- -nohdr -' '- -unfixed -' >--+-----------------------+-- --+--------------+-------------->< '- -delim -- delimiter -' +- vdisk_id ---+ '- vdisk_name -'
| Note: If there is no data to be displayed (for example, an empty view has been returned), then headings are not displayed irrespective of whether the -nohdr option was used or not. |
This command displays a list of the errors and events in the log related to VDisks. The list can be filtered further by specifying a specific object ID or name. This will return only the errors and events that have been logged against the specified object. The list can also be filtered to show only the configuration events or the unfixed errors for the given object type, or object ID. Similarly, the last x entries against a given object type or object ID can be listed.
| Note: Although there is an object type of unknown displayed in the error log, there is no command with which to filter these object types. |
An invocation example
svcinfo lserrlogbyvdisk -delim :
The resulting output
id:type:fixed:SNMP_trap_raised:error_type:node_name:sequence_number: root_sequence_number:first_timestamp:last_timestamp:number_of_errors:error_code 3:vdisk:no:no:5:node1:0:0:030407090825:030407090825:1:00990182 1:vdisk:no:no:5:node1:0:0:030407090820:030407090820:1:00990182 4:vdisk:no:no:5:node1:0:0:030407090013:030407090013:1:00990169 3:vdisk:no:no:5:node1:0:0:030407090004:030407090004:1:00990169 2:vdisk:no:no:5:node1:0:0:030407085959:030407085959:1:00990169 1:vdisk:no:no:5:node1:0:0:030407082213:030407082213:1:00990169 0:vdisk:no:no:5:node1:0:0:030407082158:030407082158:1:00990169 0:vdisk:no:no:5:node1:0:0:030407082148:030407082148:1:00990169 0:vdisk:no:no:5:node1:0:0:030407082145:030407082145:1:00990169 0:vdisk:no:no:5:node1:0:0:030407082015:030407082015:1:00990169 0:vdisk:no:no:5:node1:0:0:030407081854:030407081854:1:00990169 1:vdisk:no:no:5:node1:0:0:030407081843:030407081843:1:00990169 0:vdisk:no:no:5:node1:0:0:030407081836:030407081836:1:00990169