Changes between Version 65 and Version 66 of LSIMegaRAIDSAS


Ignore:
Timestamp:
02/10/16 13:15:48 (6 years ago)
Author:
Adam Cécile
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LSIMegaRAIDSAS

    v65 v66  
    576576{{{
    577577server:~# megaclisas-status
    578 -- Controller informations --
    579 -- ID | Model
    580 c0 | PERC 5/i Integrated
    581 
    582 -- Arrays informations --
    583 -- ID | Type | Size | Status | InProgress
    584 c0u0 | RAID1 | 238G | Optimal | None
    585 
    586 -- Disks informations
    587 -- ID | Model | Status
    588 c0u0p0 | ATA ST3250620NS 3BKH 5QE4PW70 | Online
    589 c0u0p1 | ATA WDC WD2500YS-18S6C07 WD-WCANY3450500 | Online
    590 }}}
    591 
    592 Another example:
     578-- Controller information --
     579-- ID | H/W Model            | RAM    | Temp | BBU    | Firmware     
     580c0    | PERC H700 Integrated | 512MB  | N/A  | Good   | FW: 12.10.6-0001
     581
     582-- Array information --
     583-- ID | Type   |    Size |  Strpsz |   Flags | DskCache |   Status |  OS Path | InProgress   
     584c0u0  | RAID-1 |    931G |   64 KB | ADRA,WB |  Enabled |  Optimal | /dev/sda | None         
     585c0u1  | RAID-1 |   1090G |   64 KB | ADRA,WB |  Enabled |  Optimal | /dev/sdb | None         
     586
     587-- Disk information --
     588-- ID  | Type | Drive Model                       | Size     | Status          | Speed    | Temp | Slot ID  | LSI Device ID
     589c0u0p0 | HDD  | SEAGATE ST91000640SS AS029XG09DFC | 931.0 GB | Online, Spun Up | 6.0Gb/s  | 25C  | [32:0]   | 0       
     590c0u0p1 | HDD  | SEAGATE ST91000640SS AS029XG09AXW | 931.0 GB | Online, Spun Up | 6.0Gb/s  | 26C  | [32:1]   | 1       
     591c0u1p0 | HDD  | SEAGATE ST1200MM0017 0002S3L062CK | 1.090 TB | Online, Spun Up | 6.0Gb/s  | 25C  | [32:2]   | 2       
     592c0u1p1 | HDD  | SEAGATE ST1200MM0017 0001S3L03T0C | 1.090 TB | Online, Spun Up | 6.0Gb/s  | 26C  | [32:3]   | 3   
     593}}}
     594
     595Another example (I broke the raid by running "megacli -PDOffline -PhysDrv [32:0] -a0")
    593596{{{
    594597server:~# megaclisas-status
    595 -- Controller informations --
    596 -- ID | Model
    597 c0 | PERC 6/i Integrated
    598 
    599 -- Arrays informations --
    600 -- ID | Type | Size | Status | InProgress
    601 c0u0 | RAID5 | 279G | Optimal | Background Initialization: Completed 42%, Taken 46 min.
    602 
    603 -- Disks informations
    604 -- ID | Model | Status
    605 c0u0p0 | SEAGATE ST3146855SS S5283LN6CLF9 | Online
    606 c0u0p1 | SEAGATE ST3146855SS S5283LN6CNGM | Online
    607 c0u0p2 | SEAGATE ST3146855SS S5283LN6CGW4 | Online
    608 }}}
    609 
    610 The same example but with second disk rebuilding:
     598-- Controller information --
     599-- ID | H/W Model      | RAM    | Temp | BBU    | Firmware     
     600c0    | PERC H730 Mini | 1024MB | 56C  | Good   | FW: 25.3.0.0016
     601
     602-- Array information --
     603-- ID | Type   |    Size |  Strpsz | Flags | DskCache |   Status |  OS Path | InProgress   
     604c0u0  | RAID-1 |   3637G |   64 KB | RA,WB |  Default | Degraded | /dev/sde | None         
     605
     606-- Disk information --
     607-- ID  | Type | Drive Model                       | Size     | Status          | Speed    | Temp | Slot ID  | LSI Device ID
     608c0u0p0 | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GHSE | 3.637 TB | Offline         | 6.0Gb/s  | 34C  | [32:0]   | 0       
     609c0u0p1 | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GJ8X | 3.637 TB | Online, Spun Up | 6.0Gb/s  | 35C  | [32:1]   | 1       
     610
     611-- Unconfigured Disk information --
     612-- ID   | Type | Drive Model                       | Size     | Status | Speed    | Temp | Slot ID  | LSI Device ID
     613c0uXpY  | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GZ1T | 3.637 TB | JBOD | 6.0Gb/s  | 33C  | [32:2]   | 2       
     614c0uXpY  | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GXRW | 3.637 TB | JBOD | 6.0Gb/s  | 32C  | [32:3]   | 3       
     615c0uXpY  | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GGR6 | 3.637 TB | JBOD | 6.0Gb/s  | 32C  | [32:4]   | 4       
     616c0uXpY  | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GJFC | 3.637 TB | JBOD | 6.0Gb/s  | 31C  | [32:5]   | 5       
     617
     618There is at least one disk/array in a NOT OPTIMAL state.
     619}}}
     620
     621The nagios mode (run with --nagios):
     622{{{
     623server:~# megaclisas-status --nagios
     624RAID ERROR - Arrays: OK:0 Bad:1 - Disks: OK:5 Bad:1
     625server:~# echo $?
     6262
     627}}
     628
     629The same example but with missing disk rebuilding (ran "megacli -PDRbld -Start -PhysDrv [32:0] -a0" for this example):
    611630{{{
    612631server:~# megaclisas-status
    613 -- Controller informations --
    614 -- ID | Model
    615 c0 | PERC 6/i Integrated
    616 
    617 -- Arrays informations --
    618 -- ID | Type | Size | Status | InProgress
    619 c0u0 | RAID5 | 279G | Degraded | None
    620 
    621 -- Disks informations
    622 -- ID | Model | Status
    623 c0u0p0 | SEAGATE ST3146855SS S5283LN6CLF9 | Online
    624 c0u0p1 | SEAGATE ST3146855SS S5283LN6CNGM | Rebuild
    625 c0u0p2 | SEAGATE ST3146855SS S5283LN6CGW4 | Online
     632-- Controller information --
     633-- ID | H/W Model      | RAM    | Temp | BBU    | Firmware     
     634c0    | PERC H730 Mini | 1024MB | 56C  | Good   | FW: 25.3.0.0016
     635
     636-- Array information --
     637-- ID | Type   |    Size |  Strpsz | Flags | DskCache |   Status |  OS Path | InProgress   
     638c0u0  | RAID-1 |   3637G |   64 KB | RA,WB |  Default | Degraded | /dev/sde | None         
     639
     640-- Disk information --
     641-- ID  | Type | Drive Model                       | Size     | Status          | Speed    | Temp | Slot ID  | LSI Device ID
     642c0u0p0 | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GHSE | 3.637 TB | Rebuilding (0%) | 6.0Gb/s  | 35C  | [32:0]   | 0       
     643c0u0p1 | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GJ8X | 3.637 TB | Online, Spun Up | 6.0Gb/s  | 37C  | [32:1]   | 1       
     644
     645-- Unconfigured Disk information --
     646-- ID   | Type | Drive Model                       | Size     | Status | Speed    | Temp | Slot ID  | LSI Device ID
     647c0uXpY  | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GZ1T | 3.637 TB | JBOD | 6.0Gb/s  | 36C  | [32:2]   | 2       
     648c0uXpY  | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GXRW | 3.637 TB | JBOD | 6.0Gb/s  | 34C  | [32:3]   | 3       
     649c0uXpY  | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GGR6 | 3.637 TB | JBOD | 6.0Gb/s  | 36C  | [32:4]   | 4       
     650c0uXpY  | HDD  | SEAGATE ST4000NM0023 GS10Z1Z9GJFC | 3.637 TB | JBOD | 6.0Gb/s  | 34C  | [32:5]   | 5   
    626651
    627652There is at least one disk/array in a NOT OPTIMAL state.
    628653}}}
    629654
    630 A server with two controllers:
     655A server with two controllers (old script version output, sorry got no such hardware to get a newer example):
    631656The first one with a RAID1 array working fine.
    632 A second one with a RAID6 arrays of 7 drives with one offline (the array has just been created so it's under initilisation too).
     657A second one with a RAID6 arrays of 7 drives with one offline (the array has just been created so it's under initialization too).
    633658{{{
    634659server:~# megaclisas-status