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 |
| 580 | c0 | 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 |
| 584 | c0u0 | RAID-1 | 931G | 64 KB | ADRA,WB | Enabled | Optimal | /dev/sda | None |
| 585 | c0u1 | 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 |
| 589 | c0u0p0 | HDD | SEAGATE ST91000640SS AS029XG09DFC | 931.0 GB | Online, Spun Up | 6.0Gb/s | 25C | [32:0] | 0 |
| 590 | c0u0p1 | HDD | SEAGATE ST91000640SS AS029XG09AXW | 931.0 GB | Online, Spun Up | 6.0Gb/s | 26C | [32:1] | 1 |
| 591 | c0u1p0 | HDD | SEAGATE ST1200MM0017 0002S3L062CK | 1.090 TB | Online, Spun Up | 6.0Gb/s | 25C | [32:2] | 2 |
| 592 | c0u1p1 | HDD | SEAGATE ST1200MM0017 0001S3L03T0C | 1.090 TB | Online, Spun Up | 6.0Gb/s | 26C | [32:3] | 3 |
| 593 | }}} |
| 594 | |
| 595 | Another example (I broke the raid by running "megacli -PDOffline -PhysDrv [32:0] -a0") |
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 |
| 600 | c0 | 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 |
| 604 | c0u0 | 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 |
| 608 | c0u0p0 | HDD | SEAGATE ST4000NM0023 GS10Z1Z9GHSE | 3.637 TB | Offline | 6.0Gb/s | 34C | [32:0] | 0 |
| 609 | c0u0p1 | 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 |
| 613 | c0uXpY | HDD | SEAGATE ST4000NM0023 GS10Z1Z9GZ1T | 3.637 TB | JBOD | 6.0Gb/s | 33C | [32:2] | 2 |
| 614 | c0uXpY | HDD | SEAGATE ST4000NM0023 GS10Z1Z9GXRW | 3.637 TB | JBOD | 6.0Gb/s | 32C | [32:3] | 3 |
| 615 | c0uXpY | HDD | SEAGATE ST4000NM0023 GS10Z1Z9GGR6 | 3.637 TB | JBOD | 6.0Gb/s | 32C | [32:4] | 4 |
| 616 | c0uXpY | HDD | SEAGATE ST4000NM0023 GS10Z1Z9GJFC | 3.637 TB | JBOD | 6.0Gb/s | 31C | [32:5] | 5 |
| 617 | |
| 618 | There is at least one disk/array in a NOT OPTIMAL state. |
| 619 | }}} |
| 620 | |
| 621 | The nagios mode (run with --nagios): |
| 622 | {{{ |
| 623 | server:~# megaclisas-status --nagios |
| 624 | RAID ERROR - Arrays: OK:0 Bad:1 - Disks: OK:5 Bad:1 |
| 625 | server:~# echo $? |
| 626 | 2 |
| 627 | }} |
| 628 | |
| 629 | The same example but with missing disk rebuilding (ran "megacli -PDRbld -Start -PhysDrv [32:0] -a0" for this example): |
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 |
| 634 | c0 | 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 |
| 638 | c0u0 | 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 |
| 642 | c0u0p0 | HDD | SEAGATE ST4000NM0023 GS10Z1Z9GHSE | 3.637 TB | Rebuilding (0%) | 6.0Gb/s | 35C | [32:0] | 0 |
| 643 | c0u0p1 | 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 |
| 647 | c0uXpY | HDD | SEAGATE ST4000NM0023 GS10Z1Z9GZ1T | 3.637 TB | JBOD | 6.0Gb/s | 36C | [32:2] | 2 |
| 648 | c0uXpY | HDD | SEAGATE ST4000NM0023 GS10Z1Z9GXRW | 3.637 TB | JBOD | 6.0Gb/s | 34C | [32:3] | 3 |
| 649 | c0uXpY | HDD | SEAGATE ST4000NM0023 GS10Z1Z9GGR6 | 3.637 TB | JBOD | 6.0Gb/s | 36C | [32:4] | 4 |
| 650 | c0uXpY | HDD | SEAGATE ST4000NM0023 GS10Z1Z9GJFC | 3.637 TB | JBOD | 6.0Gb/s | 34C | [32:5] | 5 |