Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


PercCLI

PercCLI seems to be a forked version of StorCLI, by Dell.

Reference(s)
  • TODO

Table of contents


Install

# emerge -a sys-block/perccli

TODO

TODO

TODO

Download the latest version of PercCLI (7.5.007.0529 at the time of writing, check it on repology, you can also find the latest zip file to download on the Gentoo PercCLI package page (click on the latest version)):

$ wget https://downloads.dell.com/FOLDER05235308M/1/perccli_linux_NF8G9_A07_7.529.00.tar.gz
$ tar xzf perccli_linux_NF8G9_A07_7.529.00.tar.gz
$ sudo yum localinstall ./perccli_7.5-007.0529_linux/Linux/perccli-007.0529.0000.0000-1.noarch.rpm

Download the latest version of PercCLI (7.5.007.0529 at the time of writing, check it on repology, you can also find the latest zip file to download on the Gentoo PercCLI package page (click on the latest version)):

$ wget https://downloads.dell.com/FOLDER05235308M/1/perccli_linux_NF8G9_A07_7.529.00.tar.gz
$ tar xzf perccli_linux_NF8G9_A07_7.529.00.tar.gz
$ sudo dnf localinstall ./perccli_7.5-007.0529_linux/Linux/perccli-007.0529.0000.0000-1.noarch.rpm


Use

When specified, the PERC controller used in the below examples is the controller 0 (i.e. /c0).

  • same as StorCLI.

  • print information on the controller and the configuration:

    $ sudo perccli /c0 show all
    

  • print information on the existing hard drives and their status (IDs,...):

    $ sudo perccli /c0 /eall /sall show
    

  • print information on the existing virtual drives and their status:

    $ sudo perccli /c0 /vall show
    

  • print current status of all rebuilds:

    $ sudo perccli /c0 /eall /sall show rebuild
    

  • locate a physical disk, e.g. disk 1 in enclosure 64 of the controller 0:

    $ sudo perccli /c0/e64/s1 start locate
    $ sudo perccli /c0/e64/s1 stop locate
    

  • create a RAID 5 virtual drive of 11 disks from slot 0 to 10 (included), in enclosure 64:

    $ perccli /c0 add vd type=raid5 names=data drives=64:0-10
    

  • create a RAID 5 virtual drive of 11 disks from slot 0 to 10 (included) in enclosure 64, with a hot spare from slot 11 in enclosure 64:

    $ perccli /c0 add vd type=raid5 name=data drives=64:0-10 spares=64:11
    

  • add hot spare disk, e.g. disk 11 in enclosure 64 of the controller 0 to the drive group 2:

    $ perccli /c0/e64/s11 add hotsparedrive gd=2
    

  • add hot spare disk, e.g. disk 11 in enclosure 64 of the controller 0, globally:

    $ perccli /c0/e64/s11 add hotsparedrive
    

  • delete hot spare disk, e.g. disk 11 in enclosure 64 of the controller 0:

    $ perccli /c0/e64/s11 delete hotsparedrive
    


If this cheat sheet has been useful to you, then please consider leaving a star here.