Use the lsenclosureslot command to view information about each drive slot in the enclosure.
lsenclosureslot -filtervalue "enclosure_id>2"
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 | 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:
|
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
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: