Announcement Banner

Thumb One

updated

5 years ago

0

3064

December 16th, 2021 03:00

PERC H700 MegaCLI command?

This is spun off from:
https://www.dell.com/community/PowerEdge-Hardware-General/PERC-H700-MegaCLI-command/m-p/4597573

I have a PowerEdge T310 with a PERC H700 RAID card. it works fine. For example:

$ inxi -RD
Drives: Local Storage: total: 2.05 TiB used: 17.62 GiB (0.8%)
ID-1: /dev/sda vendor: Dell PowerEdge RAID Card model: PERC H700 size: 232.25 GiB
ID-2: /dev/sdb vendor: Dell PowerEdge RAID Card model: PERC H700 size: 1.82 TiB
RAID: Hardware-1: Broadcom / LSI MegaRAID SAS 2108 [Liberator] driver: megaraid_sas

Now I found someone with the self same problem and a solution here:

https://serverfault.com/questions/198367/how-can-i-manage-dell-h700-raid-controllers-from-the-linux-command-line

Alas, this like anything else on the subject of these old severs and cars is ... old. And since it was published LSI seems to have disappeared and redirects to Broadcomm and Broadcomm pro provide solutions for "MegaRAID SAS 2108" and all of it with great Linux support too which rocks.

Alas none of it works. That is the provide MegaCLI version 5.3 to 5.5 and I've tried them all and they simply do this:

$ /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL  
                                     

Exit Code: 0x00

While Greg Smith reports:

# /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL  

Adapter #0

==============================================================================
                    Versions
                ================
Product Name    : PERC H700 Integrated
Serial No       : 0000000
FW Package Build: 12.10.0-0025

How does my situation differ from Greg's? He is using MegaCLI 5.0 ( version 8.01.06 from 28-FEB-11)

Alas I cannot find MegaCLI 5.0 anywhere.

Another happy customer is here with 8.01.06:

https://marcus.bointon.com/updating-perc-6i-raid-bios-on-ubuntu/

And happy users here:

http://trac.biostr.washington.edu/trac/wiki/MegaRaid

(happy that they worked out how to use it given LSI's documentation was bad they claim ;-).

I find a 32bit rpm here:

http://repo.semantico.net/redhat/6Server/os/x86_64/

Oddly filed under 64 bit and of course is 32 bit and won't install as I'm on a x86_64 architecture. Even enabling 32bit architecture on the machine does not facilitate a successful conversion.

 

Based on the downloads so far I guess I'm looking for

MegaCli-8.01.06-1.noarch.rpm

Alas cannot find that at all.

Perhaps if I find an actual 32bit Linux OS (perhaps in a VirtualBox) then alien will convert it to a deb.

In the mean time I reach out for community support as well.  Basically has anyone got MegaCLI running on Ubuntu 20.04 on a PowerEgde T310 with a PERC H700? Or am I a unique beast?

  • 1971

    0

    Posted January 10th, 2022 02:00

    No replies, and no help from either Dell or the Dell community so I'm glad I found the solution independently. It turns out that if I follow the instructions here:

    https://www.mybluelinux.com/debian-linux-and-lsi-megaraid-sas/

    using the xenial main (the latest repo supported) in spit of running on focal it installs megacli and then all I needed to realise was that megacli needs to run as root to see the adapter. So:

    $ megacli -adpCount
    Controller Count: 0.
    Exit Code: 0x00
    $ sudo megacli -adpCount
    Controller Count: 1.
    Exit Code: 0x01

     And so:

    $ sudo megaclisas-status
    -- Controller information --
    -- ID | H/W Model         | RAM    | Temp | BBU    | Firmware     
    c0    | PERC H700 Adapter | 512MB  | N/A  | Good   | FW: 12.10.7-0001 
    
    -- Array information --
    -- ID | Type   |    Size |  Strpsz |   Flags | DskCache |   Status |  OS Path | CacheCade        |InProgress   
    c0u0  | RAID-1 |    232G |   64 KB | ADRA,WB |  Default |  Optimal | /dev/sda | Type : Read Only |None         
    c0u1  | RAID-1 |   1818G |   64 KB | ADRA,WB |  Default |  Optimal | /dev/sdb | Type : Read Only |None         
    
    -- Disk information --
    -- ID   | Type | Drive Model                                   | Size     | Status          | Speed    | Temp | Slot ID  | LSI ID  
    c0u0p0  | HDD  | WD-WCAT1F661705WDC WD2502ABYS-18B7A0 02.03B05 | 232. Gb  | Online, Spun Up | 3.0Gb/s  | N/A  | [32:0]   | 0       
    c0u0p1  | HDD  | WD-WCAT1F676236WDC WD2502ABYS-18B7A0 02.03B05 | 232. Gb  | Online, Spun Up | 3.0Gb/s  | N/A  | [32:1]   | 1       
    c0u1p0  | HDD  | ST2000DM008-2FR102 0001 ZFL0V6WQ              | 1.818 TB | Online, Spun Up | 6.0Gb/s  | N/A  | [32:2]   | 2       
    c0u1p1  | HDD  | ST2000DM008-2FR102 0001 ZFL0V6PW              | 1.818 TB | Online, Spun Up | 6.0Gb/s  | N/A  | [32:3]   | 3       

    and

    $ sudo megacli -AdpAllInfo -aAll
                                         
    Adapter #0
    
    ==============================================================================
                        Versions
                    ================
    Product Name    : PERC H700 Adapter
    Serial No       : 06C00DH
    FW Package Build: 12.10.7-0001
    
                        Mfg. Data
                    ================
    Mfg. Date       : 06/17/10
    Rework Date     : 06/17/10
    Revision No     : A00
    Battery FRU     : N/A
    
                    Image Versions in Flash:
                    ================
    BIOS Version       : 3.18.00_4.09.05.00_0x0416A000
    FW Version         : 2.100.03-4651
    Preboot CLI Version: 04.04-010:#%00008
    Ctrl-R Version     : 2.02-0025.1
    NVDATA Version     : 2.07.03-0003
    Boot Block Version : 2.02.00.00-0000
    BOOT Version       : 01.250.04.219
    
                    Pending Images in Flash
                    ================
    None
    
                    PCI Info
                    ================
    Controller Id	: 0000
    Vendor Id       : 1000
    Device Id       : 0079
    SubVendorId     : 1028
    SubDeviceId     : 1f16
    
    Host Interface  : PCIE
    
    Link Speed 	     : 0 
    Number of Frontend Port: 0 
    Device Interface  : PCIE
    
    Number of Backend Port: 8 
    Port  :  Address
    0        4433221104000000 
    1        4433221105000000 
    2        4433221107000000 
    3        4433221106000000 
    4        0000000000000000 
    5        0000000000000000 
    6        0000000000000000 
    7        0000000000000000 
    
                    HW Configuration
                    ================
    SAS Address      : 5842b2b016b7c900
    BBU              : Present
    Alarm            : Absent
    NVRAM            : Present
    Serial Debugger  : Present
    Memory           : Present
    Flash            : Present
    Memory Size      : 512MB
    TPM              : Absent
    On board Expander: Absent
    Upgrade Key      : Absent
    Temperature sensor for ROC    : Absent
    Temperature sensor for controller    : Absent
    
    
                    Settings
                    ================
    Current Time                     : 11:23:12 1/6, 2022
    Predictive Fail Poll Interval    : 300sec
    Interrupt Throttle Active Count  : 16
    Interrupt Throttle Completion    : 50us
    Rebuild Rate                     : 30%
    PR Rate                          : 30%
    BGI Rate                         : 30%
    Check Consistency Rate           : 30%
    Reconstruction Rate              : 30%
    Cache Flush Interval             : 4s
    Max Drives to Spinup at One Time : 4
    Delay Among Spinup Groups        : 12s
    Physical Drive Coercion Mode     : 128MB
    Cluster Mode                     : Disabled
    Alarm                            : Disabled
    Auto Rebuild                     : Enabled
    Battery Warning                  : Enabled
    Ecc Bucket Size                  : 255
    Ecc Bucket Leak Rate             : 240 Minutes
    Restore HotSpare on Insertion    : Disabled
    Expose Enclosure Devices         : Disabled
    Maintain PD Fail History         : Disabled
    Host Request Reordering          : Enabled
    Auto Detect BackPlane Enabled    : SGPIO/i2c SEP
    Load Balance Mode                : Auto
    Use FDE Only                     : Yes
    Security Key Assigned            : No
    Security Key Failed              : No
    Security Key Not Backedup        : No
    Default LD PowerSave Policy      : Controller Defined
    Maximum number of direct attached drives to spin up in 1 min : 0 
    Auto Enhanced Import             : No
    Any Offline VD Cache Preserved   : No
    Allow Boot with Preserved Cache  : No
    Disable Online Controller Reset  : No
    PFK in NVRAM                     : No
    Use disk activity for locate     : No
    POST delay			 : 90 seconds
    BIOS Error Handling          	 : Stop On Errors
    Current Boot Mode 		  :Normal
                    Capabilities
                    ================
    RAID Level Supported             : RAID0, RAID1, RAID5, RAID6, RAID00, RAID10, RAID50, RAID60, PRL 11, PRL 11 with spanning, PRL11-RLQ0 DDF layout with no span, PRL11-RLQ0 DDF layout with span
    Supported Drives                 : SAS, SATA
    
    Allowed Mixing:
    
    Mix in Enclosure Allowed
    
                    Status
                    ================
    ECC Bucket Count                 : 0
    
                    Limitations
                    ================
    Max Arms Per VD          : 32 
    Max Spans Per VD         : 8 
    Max Arrays               : 128 
    Max Number of VDs        : 64 
    Max Parallel Commands    : 1008 
    Max SGE Count            : 60 
    Max Data Transfer Size   : 8192 sectors 
    Max Strips PerIO         : 42 
    Max LD per array         : 16 
    Min Strip Size           : 8 KB
    Max Strip Size           : 1.0 MB
    Max Configurable CacheCade Size: 0 GB
    Current Size of CacheCade      : 0 GB
    Current Size of FW Cache       : 394 MB
    
                    Device Present
                    ================
    Virtual Drives    : 2 
      Degraded        : 0 
      Offline         : 0 
    Physical Devices  : 5 
      Disks           : 4 
      Critical Disks  : 0 
      Failed Disks    : 0 
    
                    Supported Adapter Operations
                    ================
    Rebuild Rate                    : Yes
    CC Rate                         : Yes
    BGI Rate                        : Yes
    Reconstruct Rate                : Yes
    Patrol Read Rate                : Yes
    Alarm Control                   : Yes
    Cluster Support                 : No
    BBU                             : Yes
    Spanning                        : Yes
    Dedicated Hot Spare             : Yes
    Revertible Hot Spares           : Yes
    Foreign Config Import           : Yes
    Self Diagnostic                 : Yes
    Allow Mixed Redundancy on Array : No
    Global Hot Spares               : Yes
    Deny SCSI Passthrough           : No
    Deny SMP Passthrough            : No
    Deny STP Passthrough            : No
    Support Security                : Yes
    Snapshot Enabled                : No
    Support the OCE without adding drives : Yes
    Support PFK                     : No
    Support PI                      : No
    Support Boot Time PFK Change    : No
    Disable Online PFK Change       : No
    Support Shield State            : No
    Block SSD Write Disk Cache Change: No
    
                    Supported VD Operations
                    ================
    Read Policy          : Yes
    Write Policy         : Yes
    IO Policy            : Yes
    Access Policy        : Yes
    Disk Cache Policy    : Yes
    Reconstruction       : Yes
    Deny Locate          : No
    Deny CC              : No
    Allow Ctrl Encryption: No
    Enable LDBBM         : Yes
    Support Breakmirror  : No
    Power Savings        : No
    
                    Supported PD Operations
                    ================
    Force Online                            : Yes
    Force Offline                           : Yes
    Force Rebuild                           : Yes
    Deny Force Failed                       : No
    Deny Force Good/Bad                     : No
    Deny Missing Replace                    : No
    Deny Clear                              : No
    Deny Locate                             : No
    Support Temperature                     : No
    NCQ                                     : No
    Disable Copyback                        : No
    Enable JBOD                             : No
    Enable Copyback on SMART                : No
    Enable Copyback to SSD on SMART Error   : No
    Enable SSD Patrol Read                  : No
    PR Correct Unconfigured Areas           : Yes
    Enable Spin Down of UnConfigured Drives : No
    Disable Spin Down of hot spares         : Yes
    Spin Down time                          : 30 
    T10 Power State                         : No
                    Error Counters
                    ================
    Memory Correctable Errors   : 0 
    Memory Uncorrectable Errors : 0 
    
                    Cluster Information
                    ================
    Cluster Permitted     : No
    Cluster Active        : No
    
                    Default Settings
                    ================
    Phy Polarity                     : 0 
    Phy PolaritySplit                : 0 
    Background Rate                  : 30 
    Strip Size                       : 64kB
    Flush Time                       : 4 seconds
    Write Policy                     : WB
    Read Policy                      : Adaptive
    Cache When BBU Bad               : Disabled
    Cached IO                        : No
    SMART Mode                       : Mode 6
    Alarm Disable                    : Yes
    Coercion Mode                    : 128MB
    ZCR Config                       : Unknown
    Dirty LED Shows Drive Activity   : No
    BIOS Continue on Error           : 0 
    Spin Down Mode                   : None
    Allowed Device Type              : SAS/SATA Mix
    Allow Mix in Enclosure           : Yes
    Allow HDD SAS/SATA Mix in VD     : No
    Allow SSD SAS/SATA Mix in VD     : No
    Allow HDD/SSD Mix in VD          : No
    Allow SATA in Cluster            : No
    Max Chained Enclosures           : 1 
    Disable Ctrl-R                   : No
    Enable Web BIOS                  : No
    Direct PD Mapping                : Yes
    BIOS Enumerate VDs               : Yes
    Restore Hot Spare on Insertion   : No
    Expose Enclosure Devices         : No
    Maintain PD Fail History         : No
    Disable Puncturing               : No
    Zero Based Enclosure Enumeration : Yes
    PreBoot CLI Enabled              : No
    LED Show Drive Activity          : Yes
    Cluster Disable                  : Yes
    SAS Disable                      : No
    Auto Detect BackPlane Enable     : SGPIO/i2c SEP
    Use FDE Only                     : Yes
    Enable Led Header                : No
    Delay during POST                : 2 
    EnableCrashDump                  : No
    Disable Online Controller Reset  : No
    EnableLDBBM                      : Yes
    Un-Certified Hard Disk Drives    : Allow
    Treat Single span R1E as R10     : Yes
    Max LD per array                 : 16
    Power Saving option              : All power saving options are disabled
    Default spin down time in minutes: 30 
    Enable JBOD                      : No
    TTY Log In Flash                 : No
    Auto Enhanced Import             : No
    BreakMirror RAID Support         : No
    Disable Join Mirror              : No
    Enable Shield State              : No
    Time taken to detect CME         : 60s
    
    Exit Code: 0x00

    And all is good. MegaCLI is installed and it works.