lsenclosureslot
Use the lsenclosureslot command to view information about each drive slot in the enclosure.
Syntax
>>- lsenclosureslot -- -----------------------------------------> >--+-----------------------------------+-- ---------------------> '- -filtervalue -- attribute_value -' >--+-----------------+-- --+-----------------------+-- ---------> '- -filtervalue? -' '- -delim -- delimiter -' >--+----------+-- -- -- ----------------------------------------> '- -nohdr -' >--+----------------------------------------+------------------>< '-+- ------------------+-- enclosure_id -' '- -slot -- slot_id -'
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 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
- -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.
- -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 from 1 - 92.Note:
If slot information is requested for a slot that does not exist on the specified enclosure, value displayed is blank.
- 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: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:
|
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:
|
fault_LED | The state of the combined fault
and identify light-emitting diodes (LEDs):
|
powered | Indicates whether the slot is powered on.
|
drive_present | Indicates if a drive is in the slot. The drive
can be working, dead, or powered off.
|
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 is typically blank; however, if there is a problem (for example, the status is degraded), then it contains the sequence number of that error. |
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: