Updated on 2022-11-03 GMT+08:00

Installing the megaraid_sas Driver

Scenario

If the BMS uses 3408 or 3508 RAID cards, you need to install the megaraid_sas driver on the VM.

Procedure

  1. Upload the RAID-3004iMR_3108_3408iMR_3416iMR_3508_3516-CentOS7.6-megaraid_sas-07.716.01.00-1-x86_64.rpm package obtained in Making Preparations to the VM.
  2. Install the megaraid_sas driver.
    1. Go to the directory where the .rpm installation package is stored and run the following commands to install it:

      rpm -ivh RAID-3004iMR_3108_3408iMR_3416iMR_3508_3516-CentOS7.6-megaraid_sas-07.716.01.00-1-x86_64.rpm

      [root@localhost 3408]# rpm -ivh RAID-3004iMR_3108_3408iMR_3416iMR_3508_3516-CentOS7.6-megaraid_sas-07.716.01.00-1-x86_64.rpm
      Preparing...                          ###################################### [100%]
      Updating / installing...
         1:kmod-megaraid_sas-07.716.01.00_el###################################### [100%]
      [root@localhost 3408]# 
    2. Run the dracut -f command to update the kernel:
  3. After the installation is complete, run the rpm -qa | grep raid command to check whether the installation is successful.
    kmod-megaraid_sas-07.716.01.00-1-x86_64