Installation guide
Appendix A. Check Commands for Customizable Services of Add_ons
81
global state descriptor
The first line shows the global state. The syntax is:
MegaRAID SAS [CT |PD |LD ]<GlobalStatus>
”CT ” if ”-A”.
”PD ” if ”-P”.
”VD ” if ”-L”.
state descriptor by controller
They may be present after the global state descriptor if an error exists.
The syntax is:
[ CT(Ct<Ct>) <CtrlModel> <CtrlStatus>
[PD(CT<id> DEV<id> ENC<id> SLOT<id> SN<number>) <PDType>
<PDStatus> …]
[VD(CT<id> DEV<id>) <RAIDLevel> <VDStatus> …]
…]
<CtrlModel> controller model
<CtrlStatus> worst state detected for an element of this controller
<id> controller or Drive or Logical drive index
<RAIDLevel> RAID level (0,1,5,10,50,60)
<VDStatus> ”logical drive” status
<PDType> ”physical device” type: ”Disk”, ”Processor”, ”Ctrl Channel”,
<PDStatus> ”physical device” status
<SN> serial number of physical drive
Examples:
• If global state is OK:
> check_MegaRaidSAS -H <hostname>
MegaRAID SAS CT OK
CT0 MegaRAID SAS 8408E OK
PD: 4
VD: 2 ( RAID0, 1 RAID1)
>
> check_MegaRaidSAS -H < hostname > -A ALL
MegaRAID SAS CT OK
CT0 MegaRAID SAS 8408E OK
PD: 4
VD: 2 ( RAID0, 1 RAID1)
>
> check_MegaRaidSAS-H < hostname > -L ALL
MegaRAID SAS VD OK
>
> check_MegaRaidSAS-H < hostname > -P ALL
MegaRAID SAS PD OK
>