Storcli Basics

Description Command
Show all adaptors storcli /call show
Show all virtual drives storcli /call/vall show
Show all physical drives storcli /call/dall show all
Show all enclosures storcli /call/eall show
Show all BBU storcli /call/bbu show
Show all CacheVault storcli /call/cv show
Show all foreign configuration storcli /call/fall show
Show Rebuild state storcli /c0/e8/s0 show rebuild
Show Boot Drive storcli /c0 show bootdrive
Delete all foreign configuration storcli /call/fall delete
Delete all virtual drives from controller #0 storcli /c0/vall delete
Delete all virtual drives from all controllers storcli /call/vall delete
Locate physical disk storcli /c0/e8/s2 start locate
Set Controller0 to JBOD mode storcli /c0 set jbod=on
Set Boot Drive storcli /c0/e252/s0 set bootdrive=on
Add disk to array storcli /c0/e32/s12 insert dg=0 array=0 row=0

Replace disk in the RAID

If a disk has failed but the RAID is still up, you can replace the failed disk. This example adds the disk in enclosure 8 slot 0 to DriveGroup 0 array 0 row 0 where the failed disk was before. The failed disk has to be in a Missing state before it can be replaced:

storcli /c0/e8/s0 insert dg=0 array=0 row=0

Locate Dying Disks

storcli /c0/eALL/sALL show all | grep -e 'State :' -e "Predictive Failure Count"