lsenclosureslot

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

Syntax

lsenclosureslot [ -filtervalueattribute_value ] [ -filtervalue? ] [ -delimdelimiter ] [ -nohdr ] [ { | [ -slotslot_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 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.
-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.
-slotslot_id
(Optional) Valid only when an enclosure is specified. Gives detailed view for that enclosure slot.
enclosure_id
(Optional) Lists slots for that enclosure. Must be specified if -slot is used.

Description

This command enables you to view information about each drive slot in the enclosure, such as whether a drive is present, and the port status for that drive. Table 1 shows the possible outputs:
Table 1. lsenclosureslot output
Attribute Description
enclosure_id The identity of the enclosure which contains the drive slot.
slot_id Identifies which of the drive slots in the enclosure this 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: enclosure slot port 1 is online
  • excluded_by_drive: the drive excluded the port
  • excluded_by_enclosure: the enclosure excluded the port
  • excluded_by_system: the clustered system (system) has excluded 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: enclosure slot port 2 is online
  • excluded_by_drive: the drive excluded the port
  • excluded_by_enclosure: the enclosure excluded the port
  • excluded_by_system: the clustered system (system) has excluded the port
fault_LED The state of the combined fault and identify light-emitting diodes (LEDs):
  • off: no fault
  • slow_flashing: identify mode
    Note: When the LED is in identify mode, it conceals whether there is a fault present, because it always flashes. When you remove it from identity mode, the LED will become on or off.
  • on: fault
powered Indicates whether the slot is powered on.
  • yes
  • no
drive_present Indicates if a drive is in the slot. The drive can be working, dead, or powered off.
  • yes (present)
  • no (empty)
drive_id 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 is typically blank; however, if there is a problem (for example, the status is degraded), then it contains the sequence number of that error.
interface_speed Indicates the lowest interface speed for the connected drive slot (in gigabits per second, or Gbps). The values are:
  • 1.5 Gbps
  • 3 Gbps
  • 6 Gbps
  • 12 Gbps
  • Blank if both ports are isolated or the drive is not connected

An 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:
interface_speed:6Gb

An 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: