You are on page 1of 3

9/11/2015

lsenclosureslot

lsenclosureslot
Usethelsenclosureslotcommandtoviewinformationabouteachdriveslotintheenclosure.

Syntax
>>lsenclosureslot++>
'delimdelimiter'
>++>
'nohdr'
>++><
+slotslot_idenclosure_id+
'enclosure_id'

Parameters
delimdelimiter
(Optional)Bydefaultinaconciseview,allcolumnsofdataarespaceseparated.Thewidthofeach
columnissettothemaximumpossiblewidthofeachitemofdata.Inadetailedview,eachitemof
datahasitsownrow,andiftheheadersaredisplayed,thedataisseparatedfromtheheaderbya
space.Thedelimparameteroverridesthisbehavior.Validinputforthedelimparameterisa
onebytecharacter.Ifyouenterdelim:onthecommandline,thecoloncharacter(:)separatesall
itemsofdatainaconciseviewforexample,thespacingofcolumnsdoesnotoccur.Inadetailed
view,thedataisseparatedfromitsheaderbythespecifieddelimiter.
nohdr
(Optional)Bydefault,headingsaredisplayedforeachcolumnofdatainaconcisestyleview,and
foreachitemofdatainadetailedstyleview.Thisparametersuppressesthedisplayofthese
headings.
slotslot_id
(Optional)Validonlywhenanenclosureisspecified.Givesdetailedviewforthatenclosureslot.
enclosure_id
(Optional)Listsslotsforthatenclosure.Mustbespecifiedifslotisused.

Description
Thiscommandenablesyoutoviewinformationabouteachdriveslotintheenclosure,suchaswhethera
driveispresent,andtheportstatusforthatdrive.Table1showsthepossibleoutputs:
Table1.lsenclosureslotoutput
Attribute
Description
enclosure_id

Theidentityoftheenclosurewhichcontainsthedriveslot.

slot_id

Identifieswhichofthedriveslotsintheenclosurethisis.

port_1_status

Thestatusofenclosureslotport1.Iftheportisbypassedformultiplereasons,

http://www01.ibm.com/support/knowledgecenter/api/content/nl/enus/ST3FR7/com.ibm.storwize.v7000.710.doc/svc_lsenclosureslot.html

1/3

9/11/2015

lsenclosureslot

onlyoneisshown.Inorderofpriority,theyare:
online:enclosureslotport1isonline
excluded_by_drive:thedriveexcludedtheport
excluded_by_enclosure:theenclosureexcludedtheport
excluded_by_system:theclusteredsystem(system)hasexcludedthe
port
port_2_status

Thestatusofenclosureslotport2.Iftheportisbypassedformultiplereasons,
onlyoneisshown.Inorderofpriority,theyare:
online:enclosureslotport2isonline
excluded_by_drive:thedriveexcludedtheport
excluded_by_enclosure:theenclosureexcludedtheport
excluded_by_system:theclusteredsystem(system)hasexcludedthe
port

fault_LED

Thestateofthecombinedfaultandidentifylightemittingdiodes(LEDs):
off:nofault
slow_flashing:identifymode
Note:WhentheLEDisinidentifymode,itconcealswhetherthereisa
faultpresent,becauseitalwaysflashes.Whenyouremoveitfrom
identitymode,theLEDwillbecomeonoroff.
on:fault

powered

Indicateswhethertheslotispoweredon.
yes
no

drive_present

Indicatesifadriveisintheslot.Thedrivecanbeworking,dead,orpowered
off.
yes(present)
no(empty)

drive_id

TheIDofthedriveintheslotblankifthereisnodrivepresent,orifthereisa
drivepresentbutitisofflineandunmanaged.

error_sequence_number Indicatestheerrorlognumberofthehighestpriorityerrorforthisobject.This
istypicallyblankhowever,ifthereisaproblem(forexample,thestatusis
degraded),thenitcontainsthesequencenumberofthaterror.

Aninvocationexample
lsenclosureslotdelim:
http://www01.ibm.com/support/knowledgecenter/api/content/nl/enus/ST3FR7/com.ibm.storwize.v7000.710.doc/svc_lsenclosureslot.html

2/3

9/11/2015

lsenclosureslot

Theresultingoutput:
enclosure_id:slot_id:port_1_status:port_2_status:drive_present:drive_id
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

Aninvocationexampleshowingslot2inenclosure5
lsenclosureslotdelim:slot25
Theresultingoutput:
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:
IBM_2076:bobs_cluster:admin
Parenttopic:Enclosurecommands

http://www01.ibm.com/support/knowledgecenter/api/content/nl/enus/ST3FR7/com.ibm.storwize.v7000.710.doc/svc_lsenclosureslot.html

3/3