This post is more than 5 years old

2448

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!

12 Elder

 • 

6.2K Posts

August 28th, 2018 11:00

Hello

If you do a show all on a disk it should have a legend at the bottom of the output that lists the possible states. There is sample output in the CLI guide that may also include the legend.

http://www.dell.com/storagecontrollermanuals/

The site has been changed and almost all of the redirects have stopped working. You can drill down to the controller manuals by going to All Products>Servers>Data Center Infrastructure.

http://www.dell.com/support/

Thanks

August 29th, 2018 01:00

Hello Daniel, 

Thank you for your reply. I didn't notice the output was a legend until you point it out. I'll copy-paste it here so if anyone else has the same issue can see it here. 

EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup
DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare
UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface
Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info
SeSz-Sector Size|Sp-Spun|U-Up|D-Down/PowerSave|T-Transition|F-Foreign
UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded
CFShld-Configured shielded|Cpybck-CopyBack|CBShld-Copyback Shielded

Thank you for your help again. 

Kind Regards

July 25th, 2023 04:00

Ok, what would be the specific code indicating the disk is failed?

No Events found!

Top