(Optional) Installing the megaraid_sas Driver

Scenarios

If the server (such as the V5 server) uses the 3408 or 3508 RAID card, you need to install the megaraid_sas driver for the image.

Procedure

  1. Upload the RAID-Brcm-CentOS7.3-megaraid_sas-07.706.07.00-1-x86_64.rpm package obtained in section Preparations to the VM. For details, see step 11 in section Configuring the VM Environment.
  2. Install the megaraid_sas driver.
    1. Enter the directory where the .rpm package is stored and run the following command to install the driver:

      rpm -ivh RAID-Brcm-CentOS7.3-megaraid_sas-07.706.07.00-1-x86_64.rpm

      [root@localhost 3408]# rpm -ivh RAID-Brcm-CentOS7.3-megaraid_sas-07.706.07.00-1-x86_64.rpm
      Preparing...                          ###################################### [100%]
      Updating / installing...
         1:kmod-megaraid_sas-07.706.07.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.706.07.00_el7.3-1.x86_64