lsenclosureslot

Use the lsenclosureslot command to view information about each drive slot in the enclosure.

Syntax

 lsenclosureslot    [  -filtervalue  attribute_value  ]   [  -filtervalue?  ]   [  -delim  delimiter  ]   [  -nohdr  ]       [ {   | [  -slot  slot_id  ] }  enclosure_id  ]

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 (""):
    lsenclosureslot -filtervalue "enclosure_id>2"
-filtervalue?
(Optional) Displays the valid filter attributes for the -filtervalue parameter:
  • drive_id
  • drive_present
  • enclosure_id
  • port_1_status
  • port_2_status
  • slot_id
-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 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.
 -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. This parameter suppresses the display of these headings.
 -slot slot_id
(Optional) Specifies the slot to display information for (it provides a detailed view for that enclosure slot). This parameter is valid only when an enclosure is specified. The value must be a number in the range 1 - 92.
Note:

If slot information is requested for a slot that does not exist on the specified enclosure, value that is displayed is blank.

enclosure_id
(Optional) Lists slots for that enclosure. Must be specified whether -slot is used.

Description

This command displays information about each drive slot in the enclosure, such as whether a drive is present, and the port status for that drive. lsenclosureslot output shows the possible outputs:
Table 1. lsenclosureslot output
Attribute Description
enclosure_id The identity of the enclosure that contains the drive slot.
slot_id Identifies which of the drive slots in the enclosure it is.
port_1_status The status of enclosure slot port 1. If the port is bypassed for multiple reasons, only one is shown. In order of priority, they are:
  • online indicates that the enclosure slot port 1 is online
  • excluded_by_drive indicates that the drive excluded the port
  • excluded_by_enclosure indicates that the enclosure excluded the port
  • excluded_by_system indicates that the clustered system (system) excludes the port
port_2_status The status of enclosure slot port 2. If the port is bypassed for multiple reasons, only one is shown. In order of priority, they are:
  • online indicates that the enclosure slot port 2 is online
  • excluded_by_drive indicates that thethe drive excluded the port
  • excluded_by_enclosure indicates that thethe enclosure excluded the port
  • excluded_by_system indicates that thethe clustered system (system) excludes the port
fault_LED The state of the combined fault and identify light-emitting diodes (LEDs):
  • off indicates no fault
  • slow_flashing indicates the identify mode
    Note: When the LED is in identify mode, it conceals whether there is a fault present (it always flashes). When you remove it from identity mode, the LED is turned on or off.
  • on indicates fault
powered Indicates whether the slot is powered on. The values are yes or no.
drive_present Indicates if a drive is in the slot. The drive can be working, dead, or powered off. The values are yes (present) or no (empty).
drive_id Indicates the ID of the drive in the slot; blank if there is no drive present, or if there is a drive present but it is offline and unmanaged.
error_sequence_number Indicates the error log number of the highest priority error for this object. This value is typically blank. However, if there is a problem (for example, the status is degraded), then it contains the sequence number of that error.
row Identifies the row in which the slot appears. The value must be a letter in the range A - G.
column Identifies the column in which the slot appears. The value must be a number in the range 1 - 14.

A concise invocation example

This example displays information about mappings between the 1 and 2 dimensional IDs

lsenclosureslot

The resulting output:

enclosure_id slot_id port_1_status port_2_status drive_present drive_id row column 
1            1       online        online        no                     A   1      
1            2       online        online        no                     A   2      
1            3       online        online        no                     A   3      
1            4       online        online        no                     A   4      
1            5       online        online        no                     A   5  
...
1            87      online        online        no                     G   9      
1            88      online        online        no                     G   10     
1            89      online        online        no                     G   11     
1            90      online        online        no                     G   12     
1            91      online        online        no                     G   13     
1            92      online        online        no                     G   14

A detailed invocation example showing slot 2 in enclosure 5

lsenclosureslot  -delim : -slot 2 5

The resulting output:

enclosure_id:5
slot_id:2
port_1_status:online
port_2_status:online
fault_LED:off
powered:yes
drive_present:yes
drive_id:105
error_sequence_number:

A detailed invocation example

lsenclosureslot -delim :

The resulting output:

enclosure_id:slot_id:port_1_status:port_2_status:drive_present:drive_id:error_sequence_number
1:1:online:online:yes:22:
1:2:online:online:yes:23:
1:3:online:online:yes:19:
1:4:online:online:yes:7:
1:5:online:online:yes:10:
1:6:online:online:yes:18:
1:7:online:online:yes:20:
1:8:online:online:yes:16:
1:9:online:online:yes:12:
1:10:online:online:yes:11:
1:11:online:online:yes:21:
1:12:online:online:yes:9:
1:13:online:online:yes:14:
1:14:online:online:yes:5:
1:15:online:online:yes:15:
1:16:online:online:yes:13:
1:17:online:online:yes:6:
1:18:online:online:yes:17:
1:19:online:online:yes:4:
1:20:online:online:yes:1:
1:21:online:online:yes:8:
1:22:online:online:yes:0:
1:23:online:online:yes:3:
1:24:online:online:yes:2: