HP Command Line Array Configuration Utility hpacucli provides several useful and easily scriptable commands for HP array controllers running Linux operating system.

Installation process

Configure The Linux Management Component Pack repository.

$ echo "deb http://downloads.linux.hpe.com/SDR/downloads/MCP/Debian/ wheezy/current non-free" | sudo tee /etc/apt/sources.list.d/hp.list

Install the HPE public GPG key.

$ wget -qO- http://downloads.linux.hpe.com/SDR/downloads/MCP/GPG-KEY-mcp | sudo apt-key add -

Alternatively you can download official bootstrap shell script to setup access to the HP Software Delivery Repository.

$ wget http://downloads.linux.hpe.com/SDR/add_repo.sh
--2017-02-02 19:02:06--  http://downloads.linux.hpe.com/SDR/add_repo.sh
Resolving downloads.linux.hpe.com (downloads.linux.hpe.com)... 16.254.64.52
Connecting to downloads.linux.hpe.com (downloads.linux.hpe.com)|16.254.64.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22183 (22K) [application/x-sh]
Saving to: `add_repo.sh'
100%[=================================================>] 22,183      --.-K/s   in 0.1s
2017-02-02 19:02:06 (167 KB/s) - `add_repo.sh' saved [22183/22183]
$ chmod +x add_repo.sh
$ sudo ./add_repo.sh mcp
note : You must read and accept the License Agreement to continue.
Press enter to display it ...
 END USER LICENSE AGREEMENT
 PLEASE READ CAREFULLY: THE USE OF THE SOFTWARE IS SUBJECT TO THE TERMS AND CONDITIONS THAT FOLLOW (_AGREEMENT_), UNLESS THE SOFTWARE IS SUBJECT TO A SEPARATE LICENSE AGREEMENT BETWEEN YOU AND HP OR ITS SUPPLIERS.  BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, OR USING THE SOFTWARE, OR BY CHOOSING THE _I ACCEPT_ OPTION LOCATED ON OR ADJACENT TO THE SCREEN WHERE THIS AGREEMENT MAY BE DISPLAYED, YOU AGREE TO THE TERMS OF THIS AGREEMENT, ANY APPLICABLE WARRANTY STATEMENT AND THE TERMS AND CONDITIONS CONTAINED IN THE _ANCILLARY SOFTWARE_  (as defined below). IF YOU ARE ACCEPTING THESE TERMS ON BEHALF OF ANOTHER PERSON OR A COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT AND WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND THAT PERSON, COMPANY, OR LEGAL ENTITY TO THESE TERMS.  IF YOU DO NOT AGREE TO THESE TERMS, DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, OR USE THE SOFTWARE, AND PROMPTLY RETURN THE SOFTWARE WITH PROOF OF PURCHASE TO THE PARTY FROM WHOM YOU ACQUIRED IT AND OBTAIN A REFUND OF THE AMOUNT YOU PAID, IF ANY.  IF YOU DOWNLOADED THE SOFTWARE, CONTACT THE PARTY FROM WHOM YOU ACQUIRED IT.
 QUANTITY OF DEVICES:
 1.   GENERAL TERMS
a.     You and Your refer either to an individual person or to a single legal entity.
b.     HP means Hewlett-Packard Company or one of its subsidiaries.
c.     HP Branded means Software products bearing a trademark or service mark of Hewlett-Packard Company or any Hewlett-Packard Company Affiliate, and embedded HP selected third party Software that is not offered under a third party license agreement.
d.     Software means machine-readable instructions and data (and copies thereof) including middleware and related updates and upgrades You may be separately authorized to receive, licensed materials, user documentation, user manuals, and operating procedures. _Ancillary Software_ means all or any portion of Software provided under public, open source, or third party license terms.
e.     Specification means technical information about Software products published in HP product manuals, user documentation, and technical data sheets in effect on the date HP delivers Software products to You.
f.     Transaction Document(s) means an accepted customer order (excluding pre-printed terms) and in relation to that order, valid HP quotations, license to use certificates or invoices.
2.   LICENSE TERMS AND RESTRICTIONS
a.     Subject to the terms and conditions of this Agreement and the payment of any applicable license fee, HP grants You a non-exclusive, non-transferable license to Use (as defined below) in object code form one copy of the Software on one device at a time for Your i
nternal business purposes, unless otherwise indicated above or in applicable Transaction Document(s).   _Use_ means to install, store, load, execute and display the Software in accordance with the Specifications.  Your Use of the Software is subject to these license terms and to the other restrictions specified by HP in any other tangible or electronic documentation delivered or otherwise made available to You with or at the time of purchase of the Software, including license terms, warranty statements, Specifications, and _readme_
or other informational files included in the Software itself.  Such restrictions are hereby incorporated in this Agreement by reference.  Some Software may require license keys or contain other technical protection measures. You acknowledge that HP may monitor your com
pliance with Use restrictions remotely or otherwise.  If HP makes a license management program available which records and reports license usage information, You agree to appropriately install, configure and execute such license management program beginning no later than one hundred and eighty (180) days from the date it is made available to You and continuing for the period that the Software is Used.
b.     This Agreement confers no title or ownership and is not a sale of any rights in the Software. Third-party suppliers are intended beneficiaries under this Agreement and independently may protect their rights in the Software in the event of any infringement.  All rights not expressly granted to You are reserved solely to HP or its suppliers.  Nothing herein should be construed as granting You, by implication, estoppel or otherwise, a license relating to Software other than as expressly stated above in this section 2.
c.     Unless otherwise permitted by HP, You (a) may only make copies or adaptations of the Software for archival purposes or when copying or adaptation is an essential step in the authorized Use of the Software on a backup device, provided that copies and adaptations are used in no other manner and provided further that the Use on the backup device is discontinued when the original or replacement device becomes operable, and (b) may not copy the Software onto or otherwise Use or make it available on, to, or through any public or external distributed network.
d.     To Use Software identified as an update or upgrade, You must first be licensed for the original Software identified by HP as eligible for the update or upgrade. If the update or upgrade is intended to substantially replace the original Software, after updating or upgrading, You may no longer Use the original Software that formed the basis for Your update or upgrade eligibility unless otherwise provided by HP in writing. Nothing in this Agreement grants You any right to purchase or receive Software updates, upgrades, or support, and HP is under no obligation to make such support available to you. Updates, upgrades, enhancements, or other Support may only be available under separate HP support agreements.  You may contact HP to learn more about any support offerings HP may make available.  HP reserves the right to require additional licenses and fees for Software upgrades or other enhancements, or for Use of the Software on upgraded devices.
e.     You must reproduce all copyright notices that appear in or on the Software (including documentation) on all permitted copies or adaptations. Copies of documentation are limited to internal use.
f.     Notwithstanding anything to the contrary herein, if the Transaction Document(s) identifies that the Software may be utilized on another Designated System(s) (as defined below), Your license to Use the Software may be transferred to another Designated System(s).  A _Designated System_ means a computer system owned, controlled, or operated by or solely on behalf of You and may be further identified by HP by the combination of a unique number and a specific system type.  Such license will terminate in the event of a change in either the system number or system type, an unauthorized relocation, or if the Designated System ceases to be within Your possession or control.
g.     Operating system Software may only be Used when operating the associated hardware in configurations as approved, sold, or subsequently upgraded by HP or an HP authorized reseller.
h.     Software is not specifically designed, manufactured, or intended for use as parts, components, or assemblies for the planning, construction, maintenance, or direct operation of a nuclear facility. You are solely liable if Software is Used for these applications and will indemnify and hold HP harmless from all loss, damage, expense, or liability in connection with such Use.
i      You will not modify, reverse engineer, disassemble, decrypt, decompile, or make derivative works of the Software. Where You have other rights mandated under statute, You will provide HP with reasonably detailed information regarding any intended modifications, reverse engineering, disassembly, decryption, or decompilation and the purposes therefore.
j.     Extending the Use of Software to any person or entity other than You as a function of providing services, (i.e.; making the Software   available through a commercial   timesharing or service bureau) must be authorized in writing by HP prior to such Use and may require additional licenses and fees.  You may not distribute, resell, or sublicense the Software.
k.     Notwithstanding anything in this Agreement to the contrary, all or any portion of the Software which constitutes Ancillary Software is licensed to You subject to the terms and conditions of the Software license agreement accompanying such  Ancillary Software, whether in the form of a separate agreement, shrink wrap license or electronic license terms accepted at time of download.  Use of the Ancillary Software by You shall be governed entirely by the terms and conditions of such license and, with respect to HP, by the limitations and disclaimers of sections 3 and 5 hereof. HP has identified any Ancillary Software by either noting the Ancillary Software provider's ownership within each Ancillary Software program file and/or by providing information in the "ancillary.txt_ or _readme_ file that is provided as part of the installation of the Software.  The Ancillary Software licenses are also set forth in the "ancillary.txt" or _readme_ file.  By accepting the terms and conditions of this Agreement, You are also accepting the terms and conditions of each Ancillary Software license in the ancillary.txt or _readme_ file.  If the Software includes Ancillary Software licensed under the GNU General Public License and/or under the GNU Lesser General Pubic License ("GPL Software"), a complete machine-readable copy of the GPL Software Source Code ("GPL Source Code") is either:  (i) included with the Software that is delivered to You; or (ii) upon your written request, HP will provide to You, for a fee covering the cost of distribution, a complete machine-readable copy of the GPL Source Code, by mail, or (iii) if You obtained the Software by downloading it from a HP website and neither of the preceding options are available, you may download the GPL Source Code from the same website.  Information about how to make a written request for GPL Source Code may be found in the ancillary.txt file or, if an address is not listed in that file, at the following website: www.hp.com.
3.   WARRANTY
Do you accept? (yes/no) yes
info : Repo added to /etc/apt/sources.list.d/HP-mcp.list.

Update package index files.

$ sudo apt-get update

Install hpacucli package.

$ sudo apt-get install hpacucli

Usage

Use hpacucli command to start HP Command Line Array Configuration Utility.

$ sudo hpacucli

Exit HP Command Line Array Configuration Utility.

=> exit
=> quit

Implicit target controller

You can set target controller to simplify configuration process.

=> set target controller slot=0
   "controller slot=0"
=> show target
   controller slot=0

Implicitly use defined target controller.

=> array C show
Smart Array P420i in Slot 0 (Embedded)
   Array: C
      Interface Type: SATA
      Unused Space: 0  MB
      Status: OK
      Array Type: Data

Clear implicit target.

=> clear target
   Target Cleared.

Controller

Display controllers status.

=> controller all show status
Smart Array P420i in Slot 0 (Embedded)
   Controller Status: OK
   Cache Status: OK
   Battery/Capacitor Status: OK

Display controller details.

=> controller all show detail
Smart Array P420i in Slot 0 (Embedded)
   Bus Interface: PCI
   Slot: 0
   Serial Number: 60015380173B31D0
   Cache Serial Number: PBKUC0CRH2F5CA
   RAID 6 (ADG) Status: Disabled
   Controller Status: OK
   Hardware Revision: B
   Firmware Version: 3.54
   Rebuild Priority: Medium
   Expand Priority: Medium
   Surface Scan Delay: 3 secs
   Surface Scan Mode: Idle
   Queue Depth: Automatic
   Monitor and Performance Delay: 60  min
   Elevator Sort: Enabled
   Degraded Performance Optimization: Disabled
   Inconsistency Repair Policy: Disabled
   Wait for Cache Room: Disabled
   Surface Analysis Inconsistency Notification: Disabled
   Post Prompt Timeout: 15 secs
   Cache Board Present: True
   Cache Status: OK
   Cache Ratio: 10% Read / 90% Write
   Drive Write Cache: Disabled
   Total Cache Size: 1024 MB
   Total Cache Memory Available: 816 MB
   No-Battery Write Cache: Disabled
   Cache Backup Power Source: Capacitors
   Battery/Capacitor Count: 1
   Battery/Capacitor Status: OK
   SATA NCQ Supported: True
   Spare Activation Mode: Activate on drive failure
   Controller Temperature (C): 79
   Cache Module Temperature (C): 41
   Capacitor Temperature  (C): 31

Display controller configuration.

=> controller slot=0 show config
Smart Array P420i in Slot 0 (Embedded)    (sn: 60015380173B31D0)
   array A (SATA, Unused Space: 0  MB)
      logicaldrive 1 (1.8 TB, RAID 0, OK)
      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA, 2 TB, OK)
   array B (SATA, Unused Space: 0  MB)
      logicaldrive 2 (1.8 TB, RAID 0, OK)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA, 2 TB, OK)
   array C (SATA, Unused Space: 0  MB)
      logicaldrive 3 (9.1 TB, RAID 5, OK)
      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SATA, 2 TB, OK)
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SATA, 2 TB, OK)
      physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SATA, 2 TB, OK)
      physicaldrive 1I:1:7 (port 1I:box 1:bay 7, SATA, 2 TB, OK)
      physicaldrive 1I:1:8 (port 1I:box 1:bay 8, SATA, 2 TB, OK)
      physicaldrive 1I:1:9 (port 1I:box 1:bay 9, SATA, 2 TB, OK)
   Enclosure SEP (Vendor ID HP, Model Gen8 ServBP 12+2) 378 (WWID: 5002448022DAEFB8, Port: 1I, Box: 1)
   Expander 380 (WWID: 5002438032DADFA0, Port: 1I, Box: 1)
   SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 379 (WWID: 50044380263B32BA)

Display detailed controller configuration.

=> controller slot=0 show config detail
Smart Array P420i in Slot 0 (Embedded)
   Bus Interface: PCI
   Slot: 0
   Serial Number: 60015380173B31D0
   Cache Serial Number: PBKUC0CRH2F5CA
   RAID 6 (ADG) Status: Disabled
   Controller Status: OK
   Hardware Revision: B
   Firmware Version: 3.54
   Rebuild Priority: Medium
   Expand Priority: Medium
   Surface Scan Delay: 3 secs
   Surface Scan Mode: Idle
   Queue Depth: Automatic
   Monitor and Performance Delay: 60  min
   Elevator Sort: Enabled
   Degraded Performance Optimization: Disabled
   Inconsistency Repair Policy: Disabled
   Wait for Cache Room: Disabled
   Surface Analysis Inconsistency Notification: Disabled
   Post Prompt Timeout: 15 secs
   Cache Board Present: True
   Cache Status: OK
   Cache Ratio: 10% Read / 90% Write
   Drive Write Cache: Disabled
   Total Cache Size: 1024 MB
   Total Cache Memory Available: 816 MB
   No-Battery Write Cache: Disabled
   Cache Backup Power Source: Capacitors
   Battery/Capacitor Count: 1
   Battery/Capacitor Status: OK
   SATA NCQ Supported: True
   Spare Activation Mode: Activate on drive failure
   Controller Temperature (C): 77
   Cache Module Temperature (C): 40
   Capacitor Temperature  (C): 30
   Array: A
      Interface Type: SATA
      Unused Space: 0  MB
      Status: OK
      Array Type: Data
      Logical Drive: 1
         Size: 1.8 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 256 KB
         Full Stripe Size: 256 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001C51E9B268E5D513978DAF
         Disk Name: /dev/sda
         Mount Points: None
         Logical Drive Label: 02F6F0E660015320176B31D02305
         Drive Type: Data
         Caching Association: None
      physicaldrive 1I:1:1
         Port: 1I
         Box: 1
         Bay: 1
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         SATA NCQ Enabled: True
         Current Temperature (C): 38
         Maximum Temperature (C): 41
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
   Array: B
      Interface Type: SATA
      Unused Space: 0  MB
      Status: OK
      Array Type: Data
      Logical Drive: 2
         Size: 1.8 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 256 KB
         Full Stripe Size: 256 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CD31A53D0569D38E1B183
         Disk Name: /dev/sdb
         Mount Points: None
         Logical Drive Label: 06F6F0E960015330173B33D00BCA
         Drive Type: Data
         Caching Association: None
      physicaldrive 1I:1:2
         Port: 1I
         Box: 1
         Bay: 2
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     X7LMP6RAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 38
         Maximum Temperature (C): 41
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
   Array: C
      Interface Type: SATA
      Unused Space: 0  MB
      Status: OK
      Array Type: Data
      Logical Drive: 3
         Size: 9.1 TB
         Fault Tolerance: 5
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Caching:  Enabled
         Parity Initialization Status: Initialization Completed
         Unique Identifier: 600508B1001C8F72F23852919B3586C2
         Disk Name: /dev/sdc
         Mount Points: None
         Logical Drive Label: AA0A6AA260015381170B31D07D42
         Drive Type: Data
         Caching Association: None
      physicaldrive 1I:1:3
         Bay: 3
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     Y7MX9BLAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 38
         Maximum Temperature (C): 39
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
      physicaldrive 1I:1:4
         Port: 1I
         Box: 1
         Bay: 4
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     Y7MX917AS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 39
         Maximum Temperature (C): 40
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
      physicaldrive 1I:1:5
         Port: 1I
         Box: 1
         Bay: 5
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     Y7MXH8JAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 37
         Maximum Temperature (C): 38
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
      physicaldrive 1I:1:7
         Port: 1I
         Box: 1
         Bay: 7
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     Y7MXAKEAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 38
         Maximum Temperature (C): 39
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
      physicaldrive 1I:1:8
         Port: 1I
         Box: 1
         Bay: 8
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     Y7MXBV7AS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 37
         Maximum Temperature (C): 39
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
      physicaldrive 1I:1:9
         Port: 1I
         Box: 1
         Bay: 9
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     X6UPLPAAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 36
         Maximum Temperature (C): 37
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
   Enclosure SEP (Vendor ID HP, Model Gen8 ServBP 12+2) 378
      Device Number: 378
      Firmware Version: 2.16
      WWID: 5002448022DAEFB8
      Port: 1I
      Box: 1
      Vendor ID: HP
      Model: Gen8 ServBP 12+2
   Expander 380
      Device Number: 380
      Firmware Version: 2.16
      WWID: 5002438032DADFA0
      Port: 1I
      Box: 1
      Vendor ID: HP
   SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 379
      Device Number: 379
      Firmware Version: RevB
      WWID: 50044380263B32BA
      Vendor ID: PMCSIERA
      Model: SRCv8x6G

Rescan to update the list of available devices.

=> rescan

Alter controller read/write cache ratio.

=> controller slot=0 modify cr=25/75

Enable/Disable drive write cache – remember that it is not battery backed.

=> controller slot=0 modify dwc=enable
=> controller slot=0 modify dwc=disable

Generate diagnostic report.

=> controller slot=0 diag file=diag.zip

Physical drives

Display physical drives connected to the controller.

=> controller slot=0 physicaldrive all show status
   physicaldrive 1I:1:1 (port 1I:box 1:bay 1, 2 TB): OK
   physicaldrive 1I:1:2 (port 1I:box 1:bay 2, 2 TB): OK
   physicaldrive 1I:1:3 (port 1I:box 1:bay 3, 2 TB): OK
   physicaldrive 1I:1:4 (port 1I:box 1:bay 4, 2 TB): OK
   physicaldrive 1I:1:5 (port 1I:box 1:bay 5, 2 TB): OK
   physicaldrive 1I:1:7 (port 1I:box 1:bay 7, 2 TB): OK
   physicaldrive 1I:1:8 (port 1I:box 1:bay 8, 2 TB): OK
   physicaldrive 1I:1:9 (port 1I:box 1:bay 9, 2 TB): OK

Display physical drives connected to the controller.

=> controller slot=0 physicaldrive all show detail
Smart Array P420i in Slot 0 (Embedded)
   array A
      physicaldrive 1I:1:1
         Port: 1I
         Box: 1
         Bay: 1
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     X7LMSNRAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 38
         Maximum Temperature (C): 41
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
   array B
      physicaldrive 1I:1:2
         Port: 1I
         Box: 1
         Bay: 2
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     X7LMP6RAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 38
         Maximum Temperature (C): 41
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
   array C
      physicaldrive 1I:1:3
         Port: 1I
         Box: 1
         Bay: 3
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     Y7MX9BLAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 37
         Maximum Temperature (C): 39
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
      physicaldrive 1I:1:4
         Port: 1I
         Box: 1
         Bay: 4
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     Y7MX917AS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 38
         Maximum Temperature (C): 40
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
      physicaldrive 1I:1:5
         Port: 1I
         Box: 1
         Bay: 5
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     Y7MXH8JAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 37
         Maximum Temperature (C): 38
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
      physicaldrive 1I:1:7
         Port: 1I
         Box: 1
         Bay: 7
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     Y7MXAKEAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 38
         Maximum Temperature (C): 39
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
      physicaldrive 1I:1:8
         Port: 1I
         Box: 1
         Bay: 8
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     Y7MXBV7AS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 37
         Maximum Temperature (C): 39
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
      physicaldrive 1I:1:9
         Port: 1I
         Box: 1
         Bay: 9
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     X6UPLPAAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 36
         Maximum Temperature (C): 37
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6

Display status for specified physical drive connected to the controller.

=> controller slot=0 physicaldrive 1I:1:1 show status
   physicaldrive 1I:1:1 (port 1I:box 1:bay 1, 2 TB): OK

Display details for specified physical drive connected to the controller.

=> controller slot=0 physicaldrive 1I:1:1 show detail
Smart Array P420i in Slot 0 (Embedded)
   array A
      physicaldrive 1I:1:1
         Port: 1I
         Box: 1
         Bay: 1
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 2 TB
         Rotational Speed: 7200
         Firmware Revision: MX4OABB0
         Serial Number:     X7LMSNRAS
         Model: ATA         TOSHIBA DT01ACA2
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 39
         Maximum Temperature (C): 41
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6

Turn on/off LED on physical drive.

=> controller slot=0 physicaldrive 1I:1:3 modify led=on
=> controller slot=0 physicaldrive 1I:1:3 modify led=off

Logical drives

Display logical drives.

=> controller slot=0 logicaldrive all show
Smart Array P420i in Slot 0 (Embedded)
   array A
      logicaldrive 1 (1.8 TB, RAID 0, OK)
   array B
      logicaldrive 2 (1.8 TB, RAID 0, OK)
   array C
      logicaldrive 3 (9.1 TB, RAID 5, OK)

Display status for logical drives.

=> controller slot=0 logicaldrive all show status
   logicaldrive 1 (1.8 TB, 0): OK
   logicaldrive 2 (1.8 TB, 0): OK
   logicaldrive 3 (9.1 TB, 5): OK

Display details for logical drives.

=> controller slot=0 logicaldrive all show detail
Smart Array P420i in Slot 0 (Embedded)
   array A
      Logical Drive: 1
         Size: 1.8 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 256 KB
         Full Stripe Size: 256 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001C51E9B268E5D513978DAF
         Disk Name: /dev/sda
         Mount Points: None
         Logical Drive Label: 02F6F0E660015320176B31D02305
         Drive Type: Data
         Caching Association: None
   array B
      Logical Drive: 2
         Size: 1.8 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 256 KB
         Full Stripe Size: 256 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CD31A53D0569D38E1B183
         Disk Name: /dev/sdb
         Mount Points: None
         Logical Drive Label: 06F6F0E960015330173B33D00BCA
         Drive Type: Data
         Caching Association: None
   array C
      Logical Drive: 3
         Size: 9.1 TB
         Fault Tolerance: 5
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 256 KB
         Full Stripe Size: 1280 KB
         Status: OK
         Caching:  Enabled
         Parity Initialization Status: Initialization Completed
         Unique Identifier: 600508B1001C8F72F23852919B3586C2
         Disk Name: /dev/sdc
         Mount Points: None
         Logical Drive Label: AA0A6AA260015381170B31D07D42
         Drive Type: Data
         Caching Association: None

Create RAID-5 logical drive.

=> controller slot=0 create type=ld drives=1I:1:3,1I:1:4,1I:1:5,1I:1:7,1I:1:8,1I:1:9 raid=5

Create RAID-1 logical drive .

=> controller slot=0 create type=ld drives=1I:1:5,1I:1:7 raid=1

Delete logical drive.

=> controller slot=0 logicaldrive 3 delete
Warning: Deleting an array can cause other array letters to become renamed.
         E.g. Deleting array A from arrays A,B,C will result in two remaining
         arrays A,B ... not B,C
Warning: Deleting the specified device(s) will result in data being lost.
         Continue? (y/n) y

Add physical drive to logical drive.

=>  controller slot=0 logicaldrive 3 add drives=1I:1:8

Add physical drive to logical drive as a spare disk (physical disk detail will display drive type as spare drive).

=> controller slot=0 logicaldrive 2 add spares=1I:1:9

Remove physical drive from logical drive as a spare disk.

=> controller slot=0 logicaldrive 2 remove spares=1I:1:9

Turn on/off LED on logical drive.

=> controller slot=0 logicaldrive 3 modify led=on
=> controller slot=0 logicaldrive 3 modify led=off

Re-enable failed logical drive.

=>  controller slot=0 logicaldrive 3 modify reenable forced

Additional notes

There are many more interesting and useful commands, but these require license key.

=> controller slot=0 array C remove drives=1I:1:9
Error: This operation is not supported with the current configuration. Use the
       "show" command on devices to show additional details about the
       configuration.
Reason: Feature requires license key

Sadly, it’s not a joke.

ko-fi