ozbahceliler

updated

8 years ago

0

2503

August 28th, 2018 09:00

Perccli Disk States

Hello, 

I'm writing a small script to check individual disk status with perccli.  The output I'm getting is something like this:

Drive Information :
=================

---------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
---------------------------------------------------------------------------
32:0 0 Onln 0 5.457 TB SATA HDD N N 512B XXX XXXXXXXX-XXXXXXX U
32:1 1 Onln 0 5.457 TB SATA HDD N N 512B XXX XXXXXXXX-XXXXXXX U
32:2 2 Onln 0 5.457 TB SATA HDD N N 512B XXX XXXXXXXX-XXXXXXX U
32:3 3 Rbld 0 5.457 TB SATA HDD N N 512B XXX XXXXXXXX-XXXXXXX U
---------------------------------------------------------------------------

 
As you can see we have a "State" column where we can see the state of the disk. One of them is rebuilding so it is marked as "Rbld" and other ones are online and marked as "Onln". 

Can anyone please tell me what would that state be if a disk was failing. I am trying to match my scripts "if" to match with the state here. I have checked the documentation and couldn't find anything. Or if there's a "list of states" that you can share with me, I'd be really happy. 

Thank you!