Use the lsdiscoverystatus command to determine whether
a discovery operation is in progress.
Syntax
lsdiscoverystatus [ -filtervalue attribute_value ] [ -filtervalue? ] [ -nohdr ] [ -delim delimiter ]
Parameters
- -filtervalueattribute=value
- (Optional) Specifies a list of one or more filters. Only objects
with a value that matches the filter attribute value are displayed.
Note: Some
filters allow the use of a wildcard when you enter the command. The
following rules apply to the use of wildcards:
- The wildcard character is the asterisk (*).
- The command can contain a maximum of one wildcard.
- When you use a wildcard, enclose the filter entry within double
quotation marks (""): lsdiscoverystatus -filtervalue "IO_group_name=io*"
- -filtervalue?
- (Optional) Displays the valid filter attributes for the -filtervalue parameter:
- IO_group_id
- IO_group_name
- scope
- status
- -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.
- -delimdelimiter
- (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.
Description
This
command displays the state of all discoveries in the cluster.
During discovery, the system updates the drive and
MDisk records. You must wait until the discovery has finished and
is inactive before you attempt to use the system.This command
displays one of the following results:
- active
- There is a discovery operation in progress at the time
that the command is issued.
- inactive
- There are no discovery operations in progress at the
time that the command is issued.
If the Fibre Channel functions
are used only to enable the nodes to cluster, then the Fibre Channel
line will not be displayed in the lsdiscoverystatus command.
The fc_fabric line will only appear if there is
at least one Fibre Channel controller.
An invocation example
lsdiscoverystatus -delim :
The
resulting output:
id:scope:IO_group_id:IO_group_name:status
0:fc_fabric:::active
1:sas_iogrp:0:io_grp0:inactive
3:sas_iogrp:2:io_grp2:active
5:sas_direct:::inactive6:iscsi:::inactive