Use the lssasportcandidate command to
list the unconfigured serial-attached SCSI (SAS) ports logged in and
available to add to the SAS worldwide port name (WWPN) or host objects.
Syntax
lssasportcandidate [ -nohdr ] [ -delim delimiter ]
Parameters
- -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.
Description
This
command returns a list of unconfigured, logged in SAS ports.
Note: The lssasportcandidate command
presents a list of host SAS ports that are logged in to nodes. However,
there are situations when the list might include host SAS ports that
are no longer logged in or even part of the SAN fabric. For example,
if a host SAS port is unplugged from a switch but lssasportcandidate shows
the WWPN that is logged in to all nodes, the incorrect entry is removed
when another device is plugged in to the same switch port that previously
contained the removed host SAS port.
This shows the possible
output:
Table 1. lssasportcandidate
outputAttribute |
Description |
sas_WWPN |
Indicates that the SAS WWPN that is logged in
is unconfigured (not assigned to a host). This value must be 16 hexadecimal
characters. |
An invocation example
lssasportcandidate
The
resulting output:
sas_WWPN
200600A0B813B7AC
200600A0B813B7AD