lscontroller
Use the lscontroller command to display a concise list or a detailed view of controllers that are visible to the system.
Syntax
Parameters
- -filtervalue attribute=value
- (Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are returned. If a capacity is specified, the units must also be included.
- -filtervalue?
- (Optional) Displays the valid filter attributes. The following filter
attributes for the lscontroller command are valid:
- controller_name
- id
- -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 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
1-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. - controller_id | controller_name
- (Optional) Specifies the name or ID of a controller. When you use this parameter, the detailed view of the specific controller is returned and any value that is specified by the -filtervalue parameter is ignored. If you do not specify the controller_id | controller_name parameter, the concise view displays all controllers that match the filtering requirements that are specified by the -filtervalue parameter.
Description
This command returns a concise list, or a detailed view, of controllers visible to the system.
degradedno
,yes
To differentiate the name of a storage controller from the name that is shown on the system, list the storage controllers by issuing the lscontroller command. Record the controller name or ID for the controller that you want to determine. For the controller in question, issue the lscontroller controller name | id command, where controller name | id is the controller name or ID. Record the worldwide node name (WWNN) for the controller. You can use the WWNN to determine the actual storage controller by launching the native controller user interface, or by using the command line tools that it provides to verify the actual controller that has the WWNN.
- The mdisk_link_count value is the number of MDisks currently associated with this storage controller.
- The max_mdisk_link_count value is the highest value that the
mdisk_link_count reaches since it was last reset to the
mdisk_link_count value. Remember: This value is reset by specific maintenance procedures or when the event log is cleared.
- A SAN connection from a node or node canister port to a controller port for a single MDisk is a path. The controller port path_count value is the number of paths that are currently being used to submit input/output (I/O) data to this controller port.
- The storage controller max_path_count value is the highest value that the
storage controller path_count reaches since it was last reset to the
path_count value. This value is reset by specific maintenance procedures or when
the system error log is cleared. Important: The max_path_count value is the highest value that the path_count reaches since it was last reset to the path_count value.Remember: This value is reset by specific maintenance procedures or when the event log is cleared.
- The allow_quorum value identifies if the controller is enabled to support quorum disks. Quorum support is either enabled or disabled depending on the controller hardware type.
- The ctrl_s/n value is the controller serial number. Important: This data comes from vendor-controlled sources and might not be available.
Attribute | Possible Values |
---|---|
id | Indicates the controller ID. |
name | Indicates the controller name. |
WWNN | Indicates the worldwide node name (WWNN). This field is blank for iSCSI controllers. |
mdisk_link_count | Indicates the MDisk link count. |
max_mdisk_link_count | Indicates the maximum MDisk link count. |
degraded | Indicates whether the controller has degraded MDisks. |
vendor_id | Indicates the vendor identification name or number. |
product_id_low | Indicates the product identification. |
product_id_high | Indicates the product identification. |
product_revision | Indicates the product revision. |
ctrl_s/n | Indicates the controller serial number. |
allow_quorum | Indicates that the controller can support quorum disks. |
WWPN | Indicates the worldwide port name (WWPN). This field is blank for iSCSI controllers. |
path_count | Indicates the number of paths that are currently being used to submit input/output (I/O) data to the controller port. |
max_path_count | Indicates the maximum number of paths that are currently being used to submit input/output (I/O) data to the controller port. |
site_id | Indicates the site value for the controller. This numeric value is
1 , 2 , 3 , or blank. |
site_name | Indicates the site name for the controller. This value is an alphanumeric value or is blank. |
fabric_type | Indicates a Fibre Channel (FC) or SAS controller.
|
iscsi_port_id | Indicates the I/O port identifier, which is the same as the WWPN value from
the FC domain. This value shows the iSCSI port ID for the iSCSI controller and is blank for other
controllers. This value must be a numeric value. This ID refers to the row number in output from the lsiscsistorageport command. The lsiscsistorageport can be used to find the controller IQN. |
ip | Indicates the IP address that is associated with the
iscsi_port_id . This value shows the IP value for the iSCSI controller and is blank
for other controllers. This value must be an IPv4 or IPv6 address. |
physical_capacity | Indicates the physical capacity of the controller. This value is always blank or empty for controllers that do not report physical capacity information. |
A detailed invocation example for a Fibre Channel controller
lscontroller -delim = 7
The detailed resulting output:
id=0
controller_name=controller0
WWNN=
mdisk_link_count=6
max_mdisk_link_count=6
degraded=no
vendor_id=NETAPP
product_id_low=INF-01-0
product_id_high=0
product_revision=0830
ctrl_s/n=
allow_quorum=no
fabric_type=iscsi
site_id=
site_name=
physical_capacity=
WWPN=
path_count=24
max_path_count=24
iscsi_port_id=0
ip= xxx.xxx.xxx.xxx
A detailed invocation example for an iSCSI controller
lscontroller 0
The detailed resulting output:
id 0
controller_name controller0
WWNN
mdisk_link_count 6
max_mdisk_link_count 6
degraded no
vendor_id NETAPP
product_id_low INF-01-0
product_id_high 0
product_revision 0830
ctrl_s/n
allow_quorum no
fabric_type iscsi
site_id
site_name
physical_capacity
WWPN
path_count 24
max_path_count 24
iscsi_port_id 0
ip xxx.xxx.xxx.xxx
A detailed invocation example for Fibre Channel controller
lscontroller 0
The detailed resulting output:
id 0
controller_name controller0
WWNN 500507680D003D01
mdisk_link_count 6
max_mdisk_link_count 6
degraded yes
vendor_id IBM
product_id_low 2145
product_id_high
product_revision 0000
ctrl_s/n 2076
allow_quorum yes
fabric_type fc
site_id
site_name
physical_capacity
WWPN 500507680D083D01
path_count 0
max_path_count 0
iscsi_port_id
ip
WWPN 500507680D743D01
path_count 12
max_path_count 12
iscsi_port_id
ip
WWPN 500507680D783D01
path_count 8
max_path_count 12
iscsi_port_id
ip
WWPN 500507680D7C3D01
path_count 8
max_path_count 12
iscsi_port_id
ip