| 633 | | = 4. BIOS upgrade from a Linux system = |
| | 633 | |
| | 634 | = 4. SMART |
| | 635 | |
| | 636 | Finally I found the way to read SMART through these MegaRAID cards. |
| | 637 | The first thing you'll have to do is to list IDs of all your physical disks: |
| | 638 | {{{ |
| | 639 | server:~# megacli -PDlist -a0 | grep '^Device Id:' |
| | 640 | Device Id: 0 |
| | 641 | Device Id: 1 |
| | 642 | Device Id: 2 |
| | 643 | Device Id: 3 |
| | 644 | }}} |
| | 645 | |
| | 646 | Then you can add this kind of lines to /etc/smartd.conf (don't forget to comment the DEVICESCAN one): |
| | 647 | {{{ |
| | 648 | # LSI MegaRAID |
| | 649 | /dev/sda -d sat+megaraid,0 -a -s L/../../3/02 |
| | 650 | /dev/sda -d sat+megaraid,1 -a -s L/../../3/03 |
| | 651 | /dev/sda -d sat+megaraid,2 -a -s L/../../3/04 |
| | 652 | /dev/sda -d sat+megaraid,3 -a -s L/../../3/05 |
| | 653 | }}} |
| | 654 | |
| | 655 | Please note you need a recent version of smartmontools. |
| | 656 | 5.38 from Debian Lenny won't work, 5.39.1+svn3124 from Squeeze does. |
| | 657 | |
| | 658 | = 5. BIOS upgrade from a Linux system = |