User Tools

Site Tools


computers:megaraid_megacli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:megaraid_megacli [2010/07/05 16:25] chkuocomputers:megaraid_megacli [2011/01/07 00:38] (current) – [MegaRAID MegaCli] chkuo
Line 1: Line 1:
 ====== MegaRAID MegaCli ====== ====== MegaRAID MegaCli ======
-MegaCli is a command line tool provided by MegaRAID to configure/monitor their hardware RAID controllers. Currently all hard drives on [[computers:oak|Oak]] are controlled by a MegaRAID SAS 8708EM2 w/ 256Mb RAM.+MegaCli is a command line tool provided by MegaRAID to configure/monitor their hardware RAID controllers. Currently all hard drives on [[user:oak|Oak]] are controlled by a MegaRAID SAS 8708EM2 w/ 256Mb RAM.
  
 ===== Installation ===== ===== Installation =====
-MegaCli is available as a RPM for RedHat Linux. For installation on Ubuntu:+MegaCli is available as a RPM for RedHat Linux from [[http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/value_line/megaraid_sas_8708em2/index.html|LSI MegaRAID 8708EM2]]. The file name is**4.00.11_Linux_MegaCLI.zip**
  
-Download MegaCLI for Linux from [[http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/value_line/megaraid_sas_8708em2/index.html|LSI MegaRAID 8708EM2]] +For installation on Ubuntu, first we need to install ''alien'' for package format conversion: 
-  * File name: **4.00.11_Linux_MegaCLI.zip**+<code bash> 
 +$ sudo apt-get install alien 
 +</code>
  
-<code>+There are two possible ways to perform the actual installation: 
 + 
 +==== 1. masker ==== 
 +<code bash>
 $ unzip 4.00.11_Linux_MegaCLI.zip $ unzip 4.00.11_Linux_MegaCLI.zip
 Archive:  4.00.11_Linux_MegaCLI.zip Archive:  4.00.11_Linux_MegaCLI.zip
Line 24: Line 29:
  
 Change ** Orignal "control" ** Change ** Orignal "control" **
-<code>+<file>
 Source: megacli Source: megacli
 Section: alien Section: alien
Line 37: Line 42:
  .  .
  (Converted from a rpm package by alien version 8.79.)  (Converted from a rpm package by alien version 8.79.)
-</code>+</file>
  
 to ** Modified "control" ** to ** Modified "control" **
-<code>Source: megacli+<file> 
 +Source: megacli
 Section: alien Section: alien
 Priority: extra Priority: extra
Line 54: Line 60:
 $ dpkg -b MegaCli-4.00.11 $ dpkg -b MegaCli-4.00.11
 $ sudo dpkg -i MegaCli-4.00.11.deb $ sudo dpkg -i MegaCli-4.00.11.deb
 +</file>
 +
 +==== 2. chkuo ====
 +<code bash>
 +$ sudo alien --to-tgz MegaCli-4.00.11-1.i386.rpm 
 +$ tar -xvfz MegaCli-4.00.11.tgz 
 </code> </code>
  
Line 90: Line 102:
  
 ==== To Replace a Hard Drive ==== ==== To Replace a Hard Drive ====
 +**WARNING: The following procedure has not been verified yet!!**
 +
 The example here assumes that the one of the physical hard drive (Enclosure 252, Slot 6, Adapter 0; marked as Physical Disk 2 in Span Reference 0x00) has failed and needs to be replaced. The example here assumes that the one of the physical hard drive (Enclosure 252, Slot 6, Adapter 0; marked as Physical Disk 2 in Span Reference 0x00) has failed and needs to be replaced.
  
computers/megaraid_megacli.1278318346.txt.gz · Last modified: 2010/07/05 16:25 by chkuo