The lserrlogbyvdisk command
displays a list of the errors
and events in the log by VDisks.
Syntax

>>- svcinfo -- -- lserrlogbyvdisk -- --+--------------------+--->
'- -copy -- copy_id -'
>-- --+--------------------+--+------------+-- --+----------+--->
'- -count -- number -' +- -config --+ '- -nohdr -'
'- -unfixed -'
>-- --+-----------------------+-- --+--------------+-----------><
'- -delim -- delimiter -' +- vdisk_id ---+
'- vdisk_name -'
Parameters
- -copy copy_id
- (Optional)
Displays a list of errors and events for the specified VDisk
copy.
- -count number
- (Optional) Specifies the maximum number of errors or events to
list.
- -config
- (Optional) Lists only configuration events.
- -unfixed
- (Optional) Lists only
unfixed errors.
- -nohdr
- (Optional) By default, headings are displayed for each column
of data
in a concise style view, and for each item of data in a detailed style
view.
The -nohdr parameter suppresses the display
of these
headings.
Note: If there is no data
to be
displayed, headings are not displayed.
- -delim delimiter
- (Optional) By default in a concise view, all columns of data are
space-separated.
The width of each column is set to the maximum possible width of each
item
of data. In a detailed view, each item of data has its own row, and
if the
headers are displayed, the data is separated from the header by a
space. The -delim parameter
overrides this behavior. Valid input for the -delim parameter
is a
one-byte character. If you enter -delim : on
the command
line, the colon character (:) separates all items
of data
in a concise view; for example, the spacing of columns does not occur.
In
a detailed view, the data is separated from its header by the specified
delimiter.
- vdisk_id |
vdisk_name
- (Optional) Specifies the object
ID that filters the log.
Description
This
command displays a list of the errors and events in the log by VDisks.
The
list can be filtered further by specifying a specific object ID or
name. This
list displays 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 an object type unknown is displayed
in the error
log, there is no available command to filter this object type.
An invocation example
svcinfo lserrlogbyvdisk -delim :
The
resulting output
id:type:fixed:SNMP_trap_raised:error_type:node_name:type:sequence_number:
root_sequence_number:first_timestamp:last_timestamp:number_of_errors:error
code:copy_id
4:vdisk:no:no:0::vdisk:0:0:021009082703:-300101000000:0:990169:0
1:vdisk:no:no:0::vdisk:0:0:021009081951:-300101000000:0:990182:0
2:vdisk:no:no:0::vdisk:0:0:021009081915:-300101000000:0:990182:0
0:vdisk:no:no:0::vdisk:0:0:021009081835:-300101000000:0:990182:1