Home

MegaRAID SAS Device Driver Installation User Guide

image

Contents

1. 0 0 cece eee 57 10 3 Installing the Driver in a Debian 6 0 or Debian 7 0 System 0 cece eee 57 Chapter 11 Oracle Enterprise Linux Driver Installation ccc cece eee ee ccc e eee nee ence eee n cece eee eeeeeeeeensseeenees 58 Chapter 12 Fedora Driver Installation cc ccc cece c ccc c eect cence eee enter eee e ee eee e renee een eect ence eee eeee renee eeeees 59 Chapter 13 CentOS Driver Installation cc ccc cece eee c cece cece eee e eee e eee e eee eee e nee e eee e eens a 60 Chapter 14 OVM Driver Installation 0 cece cece ccc cece ete eee ee entree teen eee e eee e eee e teense ee eeeeeeeneseeeeees 61 Revision History si ineaca aan e a ase aseos et wre oo o aa Wie EE ia ara Aaaa Baie a Se eile 0 00 aa na aerial la E alese al Da S 62 Avago Technologies Ey MegaRAID SAS Device Driver Installation User Guide Chapter 1 Overview November 2014 Driver Description Chapter 1 Overview This chapter provides an overview of the operating system OS drivers for the MegaRAID SAS RAID controllers Subsequent chapters provide installation instructions for the OSs Use the latest updates provided by the OS manufacturer and review the readme file that accompanies the driver for any updated information You can download the latest drivers for the various OSs from the LSI website athttp www Isi com support Pages download search aspx NOTE The MegaRAID RAID controllers do not all supp
2. The wrong driver 32 bit as compared to 64 bit was selected 6 After the driver is loaded follow the rest of the standard Windows installation steps Secondary Storage on the MegaRAID Controller with the Windows 2008 OS As the MegaRAID controller is installed and the previously installed Windows OS starts the Windows 2008 OS prompts with Found New Hardware Perform the following steps to set up secondary storage for the Windows 2008 OS Select Locate and Install Select Don t Search Online Select Show Me Other Options Select Browse My Computer Click Browse Oe we SS In the Browse for Folder window locate the previously extracted driver files from the local boot disk CD DVD network or USB device Avago Technologies 12 MegaRAID SAS Device Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 2 4 2 5 Using the Device Manager to Install MegaRAID on the Windows 2008 OS 7 Click OK 8 Click Next 9 Click Install The Hardware Wizard displays the following message The software for this device has been successfully installed 10 Reboot the system The system does not require a reboot when the MegaRAID controller driver is loaded for the first time Using the Device Manager to Install MegaRAID on the Windows 2008 OS If you do not install the MegaRAID driver at boot time the MegaRAID driver is added or updated in the Windows environment using Device Manager Many met
3. At the next bootup enterb r asa boot option Removing an Inbox Driver Package on the Solaris 10 OS Perform the following procedure to remove the inbox driver package on the Solaris 10 OS Become a super user on your system Check to see which MegaRAID driver package is installed on your system by using one of the following commands modinfo grep mr_sas pkginfo 1 grep mrsas If the SUNWmrsas package is installed remove the package by using the following command pkgrm SUNWmrsas The following messages appear on the console The following package is currently installed mrsas LSI MegaRAID SAS 2 0 HBA driver Do you want to remove this package Press y to remove the mrsas package The following messages appear Removing Installed package instance lt mrsas gt Do you want to continue with the removal of this package y n q Press y to remove the mrsas package Run the following commands to reconfigure while rebooting the machine touch reconfigure Avago Technologies 50 MegaRAID SAS Device Driver Installation User Guide Chapter 8 Solaris Driver Installation November 2014 8 7 3 8 7 4 Removing the Driver Package reboot 7 Atthe next bootup enterb r asa boot option Removing an Inbox Driver Package on the Solaris 11 OS Perform the following procedure to remove the inbox driver package on the Solaris 11 OS Become a super user on your system 2 Check to see which MegaR
4. The Solaris OS continues with the installation Re insert the Solaris media when prompted to complete this step and proceed with the installation Installing the Driver Package during OS Installation Solaris11 OS x86 Only Perform the following procedure to install the Solaris 11 OS on any of the supported LSI MegaRAID controllers as a boot controller primary storage uP Wn gt Insert the Solaris 11 text install DVD and boot into the Solaris installation menu Select the option 2 Install Additional Drivers Press F9 Quit and return to the installation menu In the installation menu select 3 Shell Copy the driver package components tgz to the tmp directory and type the following commands to extract the driver Avago Technologies 48 MegaRAID SAS Device Driver Installation User Guide Chapter 8 Solaris Driver Installation November 2014 8 6 8 7 Installing or Upgrading the Driver Package after OS Installation tar zxvf components tgz uncompress mr_sas Z tar xf mr_sas tar 6 Install LSI mrsas Driver Package by using the following command pkgadd d 7 Select 1 Install and continue to complete the Solaris 11 OS installation Installing or Upgrading the Driver Package after OS Installation Perform the following procedure to install or upgrade the driver or package after the Solaris OS installation Become a superuser on your system 2 Change the directory command cd to the
5. The URL for the rawrite tool is http www tux org pub dos rawrite On a Linux machine you can use the dd command to burn a driver ISO image on a USB drive Perform the following steps to create a DUD with a USB drive 1 Insert a USB stick into a Linux machine making sure that the USB drive is not mounted 2 Type the following command dd if lt driver iso gt of dev sdx Where dev sdx is the USB drive NOTE Ensure that you pick the correct DUD image from the LSI release bundle The DUD image should match with the installed OS kernel version 3 Press Enter Mount the USB stick to verify its contents 5 Make sure the DUD image is in iso9660 format or MS DOS format by typing the following command af T 6 Press Enter The file system type and other information about the mounted devices appear Installing the XenServer 6 x OS on Storage Managed by a MegaRAID Controller Primary Storage This section describes how to set up the XenServer 6 OS on your host system The Citrix Server CD ROM consists of XenServer and Client You can use the XenServer CD ROM to install the Client on a Windows based system LSI distributes the LSI XenServer 6 0 6 1 and 6 2 driver in an ISO image You can update the drivers during the installation or you can update them when new drivers become available NOTE For primary storage before you install the LSI driver you must have your MegaRAID controller already installed in the system Refer to
6. Chapter 5 Ubuntu Linux Driver Installation This chapter describes how to install the device driver in new Ubuntu Linux systems and how to update the driver on existing operating systems OSs Refer to the release notes that accompanied the driver for information on an existing Ubuntu Linux system NOTE Other supported Ubuntu OS versions follow the same driver installation process described for Ubuntu 12 04 LTS in the following section NOTE The Ubuntu OS does not support driver update diskettes 5 1 Installing the Driver in a New Ubuntu Linux LTS OS You can install the device driver in a new Ubuntu Linux LTS system from the deb package which contains the executables configuration files libraries and documentation in a Debian archive file Ubuntu uses the Debian file format for OS components and LSI provides the MegaRAID driver in this file format Perform the procedure in this section if the Ubuntu Linux OS boots from a device that is not managed by a MegaRAID controller but in which the MegaRAID controller is or will be present on the system and used for managing secondary storage Assuming that you already have the deb package perform the following steps to install the driver 1 If you are running the OS as root perform the following steps otherwise go to step 2 a Make sure that you are running the OS as root To do so if you are logged in as a standard user type the following command and press Enter sudo
7. Hat Enterprise Linux OS 1 Boot the server with the installation CD or DVD Refer to your system documentation if needed 2 Enter the following boot option to load the driver disk during installation linux dd NOTE If you do not get a command prompt to enter the linux ddboot option press Esc For more information refer to the Distro specific installation process 3 Press Enter to continue the installation When prompted insert the driver diskette The utility locates and loads the driver for your controller 5 Press Alt Ctrl F4 to verify that the driver is loaded Press Alt Ctrl F1 to return to the installation 7 Follow the Red Hat installation procedure to complete the installation Installing the Red Hat Enterprise Linux 5 x 6 x or 7 x Driver in an Existing Installation You can install the device driver in an existing Red Hat Enterprise Linux system from the Red Hat Enterprise Linux installation CD Perform the following steps to add the Red Hat Enterprise Linux 5 6 or 7 driver to an existing installation 1 Turn on the power to the system The system initializes the hardware The system then detects the controller and invokes Kudzu the Red Hat Enterprise Linux hardware configuration utility 2 Enterthe ivh driver rpmcommand The following RAID controller is added to your system LSI MegaSAS 3 Select the Configure the device option Highlight the Configure tab and press Enter The system configures the contro
8. Installing or Updating the Driver by Using the DKMS RPMs cece eee c eee eee 28 4 3 Uninstalling the SuSE Linux Enterprise Server Driver 0 0 eee 28 Chapter 5 Ubuntu Linux Driver Installation 0 cece cece cece cece eect e ence cen e eee n cece nee e eens eee ee esse eneeceeeees 29 5 1 Installing the Driver in a New Ubuntu Linux LTS OS 0 eee 29 5 2 Removing the Driver in a New Ubuntu Linux LTS OS 2 0 0 cece ea 30 Chapter 6 FreeBSD Driver Installation 0 cece cece cece cece reece cence eee eee eee eee e E eee e tenn eee eeeeeeeneeseeeees 31 6 1 LSI MegaRAID Drivers and Software for the FreeBSD OS ceea 31 6 2 Obtaining LSI FreeBSD Drivers mms a wad atacate ea cara atata a ui nt aa SAW ta ca Daa onde eee a 9 pala a uta aaa ba 32 6 3 Creating a FreeBSD OS Driver Diskette ce aaa 33 6 4 Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller Primary Storage 0 cece cece eee eee ete en neces 33 6 4 1 Issues Concerning the LSI mpt Driver and the Outdated LSI mpt Driver 00 eee 34 6 4 2 Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller 0 cece eee 34 6 4 3 Creating a Custom ISO Image to Exclude the mfi and mpt Drivers 0 eee 35 6 5 Installing the Kernel Driver on a FreeBSD OS that Boots from a Device Not Managed by a MegaRAID Controller Secondary Storage 37 Avago Technologies gic MegaR
9. Installing the driver package during OS installation Installing or upgrading the driver package after OS installation Removing the driver package Notes NOTE Section 8 4 Installing the Driver Package during OS Installation Solaris10 OS x86 Only and Section 8 5 Installing the Driver Package during OS Installation Solaris11 OS x86 Only apply to x86 architecture only The other sections apply to both x86 architecture and SPARC architecture Contents of the Driver Distribution The driver distribution contains the following files README Driver readme file mr_sas img 3 5 in 1 44 MB diskette image mr_sas iso CD ROM image mr_sas tar Z Package image Supported Hardware This driver supports the following LSI MegaRAID controllers m The 2108 based family of MegaRAID controllers m The 2208 based family of MegaRAID controllers m The 3108 based family of MegaRAID controllers Supported Operating Systems This driver supports the Solaris10 and Solaris11 OSs on both the x86 platform and the SPARC platform The following driver binaries built natively are included in this driver distribution zip file and the corresponding supported OSs m Solaris 11 and Solaris 11 U1 x86 OSs Use the driver package under the directory intel solaris1 1 m Solaris 10 U9 and Solaris 10 U10 x86 OSs Use the driver package under the directory intel solaris 10 u9 m Solaris 10 U8 x86 OS Avago Technologies j MegaRAID SAS Devic
10. Yes Windows 2008 R2 SP1 Yes Yes Windows Server 2012 Yes Yes Windows Server 2012 R2 Yes Yes Windows XP SP2 64 bit only Yes Yes Chapter 3 Red Hat Enterprise Linux 5 6 6 6 7 Yes Yes N A KMOD RPMs and ISO support Chapter 4 SuSE Linux Enterprise Server 10 11 12 Yes Yes N A KMP RPMs and ISO support Chapter 5 Ubuntu10 04 3 LTS 2 6 32 33 generic Yes Yes Package deb Deb package support Ubuntu10 04 3 LTS 2 6 32 33 generic pae Yes Yes Ubuntu10 10 2 6 35 22 generic pae Yes Yes Ubuntu 1 10 3 0 0 12 generic Yes Yes Ubuntu 1 10 3 0 0 12 generic pae Yes Yes Ubuntu12 04 LTS 3 2 0 23 generic Yes Yes Ubuntu12 04 LTS 3 2 0 23 generic pae Yes Yes Ubuntu12 04 1 LTS 3 2 0 29 generic Yes Yes Ubuntu12 04 1 LTS 3 2 0 29 generic pae Yes Yes Ubuntu12 04 2 LTS 3 2 0 29 generic pae Yes Yes Ubuntu12 04 2 LTS 3 2 0 58 generic kernel Yes Yes Ubuntu 14 04 Yes Yes Chapter 6 FreeBSD 8 2 8 3 8 4 9 0 9 1 9 2 9 3 10 Yes Yes mrsas ko N A m 3Gb s RAID controllers mfi ko m 6Gb sRAID controllers mfi ko ormrsas ko depending on the controller m 12Gb sRAID controllers mrsas ko chnologies 7 MegaRAID SAS Device Driver Installation User Guide November 2014 Chapter 1 Overview Driver Names Table 1 MegaRAID Device Driver Files Driver RPMs Support Driver ISO Support and Driver Deb Package Support MegaRAID MegaRAID 5 6Gb s 12Gb s i A Driver RPMs an
11. about the WebBlOS configuration utility CU The following procedure describes the creation of a RAID 1 array You can use other RAID levels and the steps are the same except when selecting the RAID level In RAID 1 the RAID controller duplicates all data from one drive to a second drive RAID 1 provides complete data redundancy but at the cost of doubling the required data storage capacity It is appropriate for small databases or any other environment that requires fault tolerance but small capacity Follow these steps to create the virtual disk in WebBIOS 1 When the host computer is booting hold down the Ctrl key and press the H key when the following text appears on the window Copyright LSI Corporation Press lt Ctrl gt lt H gt for WebBIOS The Controller Selection window appears 2 Ifthe system has multiple SAS SATA controllers select a controller 3 Click Start The main WebBIOS CU window appears Avago Technologies MegaRAID SAS Device Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 10 11 12 13 14 15 MegaRAID Primary Storage Click Configuration Wizard The first Configuration Wizard window appears Click New Configuration NOTE If you choose the first or second option all of the existing data in the configuration will be deleted Make a backup copy of any data that you want to keep before you choose an option Click Next A dialog w
12. data in the disk cache if a power failure occurs The data is unrecoverable 10 Policy The IO policy applies to reads on a specific virtual drive It does not affect the read ahead cache Direct Reads are not buffered in cache memory Data is transferred to the cache and the host concurrently If the same data block is read again it comes from cache memory This setting is the default Cached Reads are buffered in cache memory before they are sent to the host Drive Policy Specify the drive cache policy Enable Enable the drive cache Disable Disable the drive cache NoChange Leave the current drive cache policy as is This setting is the default Disable BGI Specify the background initialization status No Leave background initialization enabled A new configuration can be initialized in the background while you use WebBlOS to perform other configuration tasks This setting is the default Yes Select Yes if you do not want to allow background initialization for configurations on this controller Select Size Specify the size of the virtual drive or drives in MB GB or TB Usually this size is the full size for RAID 1 shown in the Configuration panel on the right You may specify a smaller size if you want to create other virtual drives on the same drive group Update Size ClickUpdate Size to update the Select size field value for the selected RAID levels Either click Accept to accept the changes to the
13. directory where the Driver Package Update is and type the following command pkgadd d 3 Atthe following prompt enter y Do you want to continue with the installation of lt mrsas gt y n The following message appears after a successful installation Installation of lt mrsas gt was successful If the installation is not successful the following message appears Installation of lt mrsas gt was suspended administration 4 Ifthe installation was successful skip this step and go to step 5 If the installation was not successful remove the previously installed driver package and then repeat step 3 to apply the drive package See Section 8 7 Removing the Driver Package for instructions on removing the previously installed driver package Do not reboot 5 Run the following commands to reconfigure while rebooting the machine touch reconfigure reboot 6 Atthe next bootup enterb r asa boot option Removing the Driver Package Four possible scenarios exist that you can use to remove the driver package Choose the one that applies Removing an existing LSI driver Package See Section 8 7 Removing the Driver Package 2 Removing an inbox driver Package on Solaris10 See Section 8 7 2 Removing an Inbox Driver Package on the Solaris 10 OS for the instructions 3 Removing an inbox driver Package on Solaris11 See Section 8 7 3 Removing an Inbox Driver Package on the Solaris 11 OS for the instruc
14. grep megaraid_sas 2 Find the string that contains the text megaraid_sas and copy the string 3 Type the following commands and press Enter rpm e megaraid_sas 06 602 03 00 1 rhel5 reboot Avago Technologies 25 MegaRAID SAS Device Driver Installation User Guide Chapter 4 SuSE Linux Enterprise Server SLES Driver Installation November 2014 Installing the Driver in a New SuSE Linux Enterprise Server System Chapter 4 SuSE Linux Enterprise Server SLES Driver Installation 4 1 4 1 1 4 1 2 This chapter describes how to install the device driver in new SuSE Linux Enterprise Server SLES operating systems OSs update the driver on existing systems and uninstall the driver Installing the Driver in a New SuSE Linux Enterprise Server System You can install the MegaRAID device driver in a new system from the SuSE SLES Linux CD or DVD or from a driver update diskette NOTE If you use Service Pack SP 1 or SP 2 you need to load the driver If you use SP 3 RC 2 the MegaSAS driver is already on the SuSE SLES Linux CD NOTE MegaRAID supports PPC 64 bit architecture for the SuSE Linux Enterprise Server System but the preboot application is not supported due to the PPC BIOS limitations NOTE Do notinstall the operating system on the PPC virtual drive for the PPC 64 bit architecture Installing from a CD or a DVD Perform the following steps to install the driver in a new SuSE Linux Enterprise Server system fr
15. in the FreeBSD OS The following sections describe these topics Installing drivers for the FreeBSD OS m Updating drivers in the FreeBSD OS Driver Installation for the FreeBSD OS This section describes how to install the driver for your MegaRAID controller in the FreeBSD OS m If the virtual drives you have created are your boot device install the driver for the controller as you install the FreeBSD OS m fthe operating system is already installed on a unit connected to another controller or to the motherboard start the FreeBSD OS and then install the driver NOTE If your FreeBSD system does not have the mpt driver issue install your MegaRAID controller in the system before you install the LSI driver Refer to the installation guide that came with your controller for instructions You can download the installation guide at http www freebsd org cgi man cgi NOTE If your FreeBSD system has the mpt driver issue you must disable the mpt driver and recompile the kernel first If you have a MegaRAID controller installed you must power down and remove the controller from your system and recompile the kernel If you leave the controller in your system the mpt driver claims the device ID and goes into a soft reset continuously and your system cannot exit boot See Section 6 4 Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller Primary Storage for instructions This chapter describes these topics Obt
16. install the lt kmod gt RPM In this example the driver version is 06 602 03 00 a Uninstall the earlier version if needed b Extract the packaging from the Linux system by typing the following command and pressing Enter tar zxvf megaraid_sas_components gz c For SLES10 Service Pack 4 architecture x86_64 flavor default type the following commands and press Enter cd sles10 rpms 1 rpm ivh lsi megaraid_sas kmp default 06 602 03 00_slesl0sp4 1 x86_64 rpm d For SLES11 Service Pack 2 architecture x86_64 flavor default type the following commands and press Enter cd sles11 rpms 1 rpm ivh lsi megaraid_sas kmp default 06 602 03 00_slesllsp2 1 x86_64 rpm Avago Technologies 27 MegaRAID SAS Device Driver Installation User Guide Chapter 4 SuSE Linux Enterprise Server SLES Driver Installation November 2014 Uninstalling the SuSE Linux Enterprise Server Driver NOTE You must select the correct RPM from the available bundled RPMs Otherwise you will see an RPM installed but it will be for a different kernel version e For SLES12 architecture x86_64 flavor default type the following commands and press Enter cd sles12 rpms 1 rpm ivh lsi megaraid_sas kmp default 06 602 03 00_sles12 1 x86_64 rpm 4 Reboot the system to load the driver 4 2 2 Installing or Updating the Driver by Using the DKMS RPMs Perform the following steps to install or update to the latest version
17. multiple units or devices for the OS installation and the unit or device that you want to use for the installation is not disko change di sk0 to the appropriate number such as disk1 or disk5 The 1sdev command lists all of the devices from which you can load the driver If you use a USB flash drive you might need to insert the flash drive before booting so that it can be accessed in this step 7 To continue the installation procedure type the following command and press Enter boot 8 Install the FreeBSD OS including the kernel source It is very important to include the kernel source files 9 Remove both the FreeBSD installation disk from the CD DVD drive and the diskette from the diskette drive or the USB flash drive if used and reboot 10 On bootup repeat step 4 through step 7 11 Upon boot continue with the instructions in Section 6 6 1 Updating the Kernel with the New Driver Source for a statically linked module Creating a Custom ISO Image to Exclude the mfi and mpt Drivers You must create a custom ISO image that excludes mfi drivers and mpt drivers if you install the FreeBSD OS on storage managed by a MegaRAID controller as primary storage which is described in Section 6 4 Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller Primary Storage You must use this procedure if you must exclude the mfi driver from the kernel because of the problem described in Section 6 4 1 Issues Concerning the LSI mp
18. password For network configuration use the default setting and continue to press OK You are prompted to select the general geographical area for the time zone Choose the time zone from the displayed list of geographical areas then click OK to proceed You are prompted to choose a method for setting the system time The options are Using NTP or Manual time Select Using NTP You are prompted for the IP address and the gateway Use the default setting and click OK to continue Avago Technologies 54 MegaRAID SAS Device Driver Installation User Guide Chapter 9 XenServer Driver Installation November 2014 Installing or Updating the XenServer 6 0 6 1 or 6 2 OS Driver From this point forward the installation begins to copy files to hard drive and a progress bar appears 20 For Xenserver 5 6 0 DUD installations only perform the following steps Towards the end of the installation process the installer prompts you for any additional packages The megaraid_sas driver RPM listed is listed as a selection a Before you select the megaraid_sas driver RPM insert the pen drive into the USB slot and then select Accept and continue as normal If you are installing the Xenserver 5 5 0 OS remove the pen drive when the installation process begins b After the installation completes select Reboot The system now runs under the Citrix Xenserver OS 9 3 Installing or Updating the XenServer 6 0 6 1 or 6 2 OS Driver Perform the follo
19. to revert back to it For the mfi driver enter the following line in the boot loader conf file mfi_load YES For the mrsas driver enter the following line in the boot loader conf file mrsas_load YES Updating the MegaRAID Kernel Driver Module in the FreeBSD OS This section describes how to update the MegaRAID driver with a kernel driver module in the FreeBSD OS NOTE Make a backup of your original driver before updating the MegaRAID driver in case you need to revert back to it However you cannot revert back to the original driver if you are booting from that unit Perform the following steps to update the MegaRAID driver with a kernel driver module under the FreeBSD OS 1 Download and extract the driver See Section 6 2 Obtaining LSI FreeBSD Drivers for instructions Back up any critical data before you update the MegaRAID driver Change the directory to the location with the extracted driver To copy the driver into the boot kernel directory perform the following steps depending on which driver you use For the mfi driver type the following command and press Enter cp mfi ko boot kernel For the mrsas driver type the following command and press Enter cp mrsas ko boot kernel Make sure that the module version 32 bit or 64 bit matches the FreeBSD version If the versions do not match a kernel panic might occur 5 To load the driver perform the following steps depending on which driver you
20. to the usr src directory type the following commands if your current configuration is MYKERNEL and press Enter cd usr src make buildkernel KERNCONF MYKERNEL h To install the new kernel type the following commands if your current configuration is MYKERNEL and press Enter make installkernel KERNCONF MYKERNEL The new kernel is copied to the boot kernel directory The old kernel is moved to the boot kernel old directory Reboot your system to use the new kernel When the system reboots the new kernel driver module loads automatically Compiling and Loading the Driver as a Module by Using kldload Dynamically Loadable Module To use a driver module in case LSI does not supply a driver module for your version of the FreeBSD OS use the procedures in this section If you want to install only an LSI supplied module see Section 6 6 3 Updating the MegaRAID Kernel Driver Module in the FreeBSD OS NOTE You can use kldloadto load the driver as a module only if your boot drive is attached to the mother board and is not managed by the MegaRAID controller Perform the following steps to compile the driver as a module 1 Boot to the FreeBSD OS Obtain driver source files see Section 6 2 Obtaining LSI FreeBSD Drivers Make sure your kernel is prepared for the dynamically loadable module described in Section 6 6 1 Updating the Kernel with the New Driver Source To build the driver module typ
21. use For the mfi driver type the following command and press Enter kldload v boot kernel mfi ko For the mrsas driver type the following command and press Enter kldload v boot kernel mrsas ko If storage is present the system log records its presence usually in var log messages 6 To have the driver load automatically every time the system reboots add the following line to the boot loader conf file depending on which driver you use For the mfi driver type the following line and press Enter mfi_load YES For the mrsas driver type the following line and press Enter mrsas_load YES Avago Technologies A2 MegaRAID SAS Device Driver Installation User Guide Chapter 7 VMware Driver Installation November 2014 Installing Async Drivers on the VMware ESX ESXi 4 x OS Chapter 7 VMware Driver Installation 7 1 7 1 1 7 1 2 This chapter describes how to install and update the VMware device drivers on VMware ESX ESXi 4 x ESXi 5 x and vSphere 5 x operating systems Installing Async Drivers on the VMware ESX ESXi 4 x OS You can use several methods to install async drivers on VMware ESX ESXi 4 x Some of these methods are applicable only to VMware ESX or ESXi OSs Some methods copy the lt offline bundle gt zip file to the ESX host over the network or use a local CD ROM You must choose the appropriate method for your environment Installing Async Drivers during a
22. AID SAS Device Driver Installation User Guide Table of Contents November 2014 6 5 1 Installing the FreeBSD OS on a System that Does Not Include an LSI Controller before the OS Installation 4 38 6 5 2 Installing the FreeBSD OS on a System that Includes an LSI Controller before the OS Installation cece cece eee eee 38 6 6 Updating Drivers in the FreeBSD System 1 ceea 38 6 6 1 Updating the Kernel with the New Driver Source 0 cece cece eee 39 6 6 2 Compiling and Loading the Driver as a Module by Using kldload Dynamically Loadable Module 0sceeeeeeeeeeee 41 6 6 3 Updating the MegaRAID Kernel Driver Module in the FreeBSD OS 2 cece eee 42 Chapter 7 VMware Driver Installation ccc cece eee ccc cece teen e eee e cere eee e eee tenet een e eee ence ee eeeeeeeneeeeenees 43 7 1 Installing Async Drivers on the VMware ESX ESXi 4 x OS 1 00 cee cece etre eee 43 7 1 1 Installing Async Drivers during a New ESX Installation 0 c cece cece cence teen eee n ene n cent eee cnet nent eens 43 7 1 2 Using esxupdate and a CD in an Existing ESX Installation 0 eee nea 43 7 1 3 Using esxupdate and the Datastore Browser in an Existing ESX or ESXi Installation cece eee 44 7 1 4 Using vihostupdate and a CD in an Existing ESX or ESXi Installation cme eee 44 7 2 Installing Async Drivers on the VMware ESXi 5 X OS 2 0 0 cece e ene enee
23. AID driver package is installed on your system by using the following command modinfo grep mr_sas To find the inbox mr_sas package name run the following commands pkg list grep mr_sas driver storage mr_sas gt inbox mr_sas IPS packagename 3 If the IPS package is installed remove the package by using the following command pkg uninstall driver storage mr_sas Press y to remove the mrsas package 5 Run the following commands to reconfigure while rebooting the machine touch reconfigure reboot 6 Atthe next bootup enterb r asa boot option Removing an Inbox Driver Package on the Solaris 11 OS Bootable LSI Controller Perform the following procedure to remove the inbox driver package on the Solaris 11 OS that is on a bootable LSI controller Become a super user on your system 2 Check to see which MegaRAID driver package is installed on your system by using the following command modinfo grep mr_sas To find the inbox mr_sas package name run the following commands pkg list grep mr_sas driver storage mr_sas gt inbox mr_sas IPS packagename 3 If an inbox IPS package is installed rename inbox driver files by using the following commands For x86 systems mv kernel drv mr_sas kernel drv mr_sas inbox mv kernel drv amd64 mr_sas kernel drv amd64 mr_sas inbox mv kernel drv mr_sas conf kernel drv mr_sas conf inbox For SPARC systems mv kernel drv sparcv9 mr_sas kerne
24. B flash as scsi device dev sdb To check for SCSI devices type the following command dmesg grep sd mkdir mnt2 lsi mount t vfat dev sdbl mnt2 cp mnt2 megaraid 6 18 deb6 2 6 32 tgz lsi cd lsi tar zxvf megaraid cp 2 6 32 5 amd64 x86_64 megaraid_sas ko lib modules 2 6 32 5 amd64 kernel drivers scsi megaraid sbin depmod a 2 6 32 5 amd64 update initramfs u v k 2 6 32 5 amd64 4 Reboot your system 10 3 Installing the Driver in a Debian 6 0 or Debian 7 0 System You can install the device driver in a new Debian 6 0 or Debian 7 0 system from the deb package which contains the executables configuration files libraries and documentation in a Debian archive file Perform the procedures in this section if the Debian OS boots from a device that is not managed by a MegaRAID controller but in which the MegaRAID controller is or will be present on the system and used for managing secondary storage For secondary storage the driver must be added to the system the driver is not in box The Debian 6 0 OS uses the Debian file format for OS components and LSI provides the MegaRAID driver in this file format See Section 5 1 Installing the Driver in a New Ubuntu Linux LTS OS and follow the instructions to install the device driver in a new Debian 6 0 or Debian 7 0 OS Avago Technologies 57 MegaRAID SAS Device Driver Installation User Guide Chapter 11 Oracle Enterprise Linux Driver Installation November 2014 Cha
25. Driver Installation November 2014 Installing the Driver in a New Red Hat Enterprise Linux 5 x 6 x or 7 x OS Chapter 3 Red Hat Linux Driver Installation 3 1 3 1 1 3 1 2 This chapter describes how to install the device driver in new Red Hat Enterprise Linux systems update the driver on existing operating systems and uninstall the driver Refer to the release notes that accompanied the driver for information on an existing Red Hat Enterprise Linux system NOTE An optimized single unified binary is provided for RHEL CentOS and OEL operating systems Installing the Driver in a New Red Hat Enterprise Linux 5 x 6 x or 7 x OS You can install the MegaRAID device driver in a new system from the Red Hat Enterprise Linux CD DVD or from a driver update disk NOTE MegaRAID supports PPC 64 bit architecture for Red Hat Enterprise Linux 6 but the preboot application is not supported due to the PPC BIOS limitations NOTE Do notinstall the operating system on the PPC virtual drive for the PPC 64 bit architecture Installing from a CD ora DVD Perform the following steps to install the MegaRAID device driver in a new Red Hat Linux OS from the Red Hat Enterprise Linux installation media 1 Refer to your system documentation if needed and boot the server with the installation CD or DVD 2 Follow the installation procedure for the Red Hat OS If you do not provide a driver disk at boot time the driver is loaded automatically du
26. J April 2013 80 00163 01 Rev I February 2013 m Updated Table 1 in Chapter 1 the Solaris Ubuntu Solaris XenServer and OVM OS chapters and the version number for various operating systems m Added the Oracle Enterprise Linux chapter Updated the FreeBSD chapter and added the Oracle Enterprise Linux information 80 00163 01 Rev H December 2012 Added the Debian 6 0 OS OVM 3 0 3 OS Fedora OS and CentOS OS 80 00163 01 Rev G September 2012 80 00163 01 Rev F June 2012 m Added the Microsoft Windows 8 operating system Windows Server 2012 OS Ubuntu Linux OS and XenServer OS m Updated the FreeBSD operating system Updated the operating system versions and the installation procedures 80 00163 01 Rev E January 2011 80 00163 01 Rev D June 2009 Updated the user guide with the current versions of the operating systems Updated the procedure for installing the FreeBSD operating system 80 00163 01 Rev C April 2009 80 00163 01 Rev B November 2008 Updated the Solaris 10 operating system information and driver file names Added installation instructions for the FreeBSD and Solaris 10 operating systems 80 00163 01 Rev A August 2007 DB15 000358 00 February 2006 m Updated the installation procedures for the Windows Red Hat Linux and SuSE Linux operating systems to include the latest versions m Added a chapter for the SCOR operating system Initial release of the documen
27. New ESX Installation Perform the following steps during a new ESX installation Place the ESX installation DVD in the DVD drive of the host system Restart the host Accept the terms of the license agreement Select a keyboard type When prompted for custom drivers click Yes to install custom drivers Click Add to eject the ESX installation DVD Place the driver CD in the DVD drive of the ESX host Select the driver module to import drivers to the ESX host Click Next When prompted to load the system drivers click Yes DD ON O La a a O After you load the driver module continue installing ESX NOTE After the drivers are installed you are prompted to remove the driver CD and re insert the ESX installation DVD 12 Follow on screen instructions to complete the installation Using esxupdate and a CD in an Existing ESX Installation An existing ESX host can mount the async driver CD and install the offline bundles within using the esxupdate utility Perform the following steps to install the async driver by using the esxupdate utility 1 Login to the ESX host using an account with administrator privileges such as root 2 Enter the host into Maintenance mode NOTE You can enter host into maintenance mode through the vSphere Client or by adding the maintenancemode option to the esxupdate command 3 Place the driver CD in the CD ROM drive of the ESX host 4 To mount the driver CD type the following command an
28. PVaGo TECHNOLOGIES STORAGE BYLSI MegaRAID SAS Device Driver Installation User Guide Rev Q November 2014 80 00163 01 MegaRAID SAS Device Driver Installation User Guide November 2014 For a comprehensive list of changes to this document see the Revision History Corporate Headquarters Email Website San Jose CA globalsupport pdi avagotech com www lsi com 800 372 2447 Avago Technologies the A logo LSI Storage by LSI MegaRAID and MegaRAID Storage Manager are trademarks of Avago Technologies in the United States and other countries All other brand and product names may be trademarks of their respective companies Data subject to change Copyright 2006 2014 Avago Technologies All Rights Reserved Avago Technologies MegaRAID SAS Device Driver Installation User Guide Table of Contents November 2014 Table of Contents Chapter 1 Overview 555i a 5 coins esas ww 5a eso s rate isa ETA i baia oles lu 0 aa af OSETE E R Rave iata 5 1 Driver Description sirisser oct a Aa cede ET aaa ci A 0 a 0 e Aiea SSG RA AR aa ad 5 1 11 Driver FUNCIONS i speta ponce a nai gigs atm i aa 0 aia i n 1 NE Ib ni n a i ks 5 1 1 2 Driver Updates saci sire ees atat eee Sa etala ana a 08 al Geet cea a Read cy E 78 ta ata d a i da 6 1 2 Driver Names seca ols sive nina i i aa uta 3 i its 0 apa i ra na n ia la 6 Chapter 2 Windows Driver Installation ssesessesssssssessssssssssssssosessosoessessossscssososessosoesssssossec
29. The Device Manager window appears In the Device Manager window expand the submenu under Storage Controllers 7 Right click the LSI MegaRAID Controller option and click Update Driver Software as shown in the following figure Avago Technologies 19 MegaRAID SAS Device Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 Installing a MegaRAID Driver on the Windows Server 2012 Operating System Figure 10 Update Driver Software Option gt dp Print queues b Processors p j Sound video and game controllers 4 Storage controllers SS ee te Driver Soares lt Microsoft p pil System device Disable gt Universal Seria Uninstall Scan for hardware changes Properties To find the version of the existing driver right click the LSI MegaRAOD Controller option Click Properties and select the Drivers tab as shown in the following figure Figure 11 Driver Version 8 lt LSI Maga RAJD SAS Adapter Driver Provider LS Cereale Driver iata Aaa Driver Vere 521220 Digital Signer Microsoft Windows Te wew datni show the dewer files To update the driver software for this dace E ha dewice fads etter updating the driver rol beck to ihe previousty instead diver Disable the selected device Te unarestadl tha diver Advanced In the Update Driver Software wizard click the Browse button to locate the updated driver on the USB CD o
30. a Check to see whether a directory with the driver name already exists If a directory already exists move it to a different folder e For example to move the mfi driver module type the following command and press Enter mv usr src sys modules mfi root mfi_module backup e To move the mrsas driver module type the following command and press Enter mv usr src sys modules mrsas root mrsas_module backup Make sure the directory exists e For example to make sure the mfi directory exists type the following command and press Enter mkdir usr src sys modules mfi e To make sure the mrsas directory exists type the following command and press Enter mkdir usr src sys modules mrsas Perform the following steps a b Unpack the compressed driver source file mfi tgz for the mfi driver and mrsas tgz for the mrsas driver Move the c and h files to usr src sys dev driver_name the driver name is mfi for the mfi driver and mrsas for the mrsas driver Move the Makefile to the usr src sys modules driver_name the driver name is mfi for the mfi driver and mrsas for the mrsas driver e For example to unpack the compressed driver source file and move the Makefile for the mfi driver enter the following commands and press Enter cd usr src sys dev tar xf mfi tgz mv mfi Makefile usr src sys modules mfi e Tounpack the compressed driver source file and move the Makefile for the mrsas driver enter t
31. aining LSI FreeBSD OS drivers m Creating a FreeBSD OS driver diskette Avago Technologies 31 MegaRAID SAS Device Driver Installation User Guide Chapter 6 FreeBSD Driver Installation November 2014 6 2 Obtaining LSI FreeBSD Drivers m Installing FreeBSD OS on storage managed by a MegaRAID controller primary storage m Installing the kernel driver on a FreeBSD OS that boots from a device not managed by a MegaRAID controller secondary storage Obtaining LSI FreeBSD Drivers LSI drivers can be compiled from source files into the kernel as built in drivers or they can be modules that are loaded manually or by the operating system Both source files and modules are available from LSI but modules with current controller drivers are available for the FreeBSD 8 2 8 3 8 4 9 0 9 1 9 2 9 3 and 10 0 operating systems You can obtain the MegaRAID controller driver for the FreeBSD OS from one of these two sources LSI software CD ROM which includes the following items Compiled and tested kernel driver modules for the FreeBSD 8 2 OS located at 32 bit components 8 2 0 1386 64 bit components 8 2 0 amd64 Compiled and tested kernel driver modules for the FreeBSD 8 3 OS located at 32 bit components 8 3 0 1386 64 bit components 8 3 0 amd64 Compiled and tested kernel driver modules for the FreeBSD 8 4 OS located at 32 bit components 8 4 0 1386 64 bit components 8 4 0 amd64 Compiled and tested kernel d
32. al boot screen remove the pen drive then proceed as normal After the initial boot messages the installer does some hardware detection and initialization then a screen appears that prompts you to select which keyboard key map you want to use for the installation Select the desired key map and choose OK to proceed Select the option to install or upgrade the XenServer OS and choose OK to proceed The next screen displays a message stating that the setup program will install XenServer on the computer and warning that the installation will overwrite data on any hard drives that you select to use for the installation Click OK The XenServer End User License Agreement EULA appears Click Accept EULA If you have multiple local hard disks you are prompted to choose the primary disk for the installation Select the desired disk and click OK to proceed After you select the primary disk you are prompted to choose whether you want any of the other drives to be formatted for use by the XenServer OS for VM storage Click OK to proceed The next screen prompts you to specify the source of the installation packages If you are installing from CD select Local media CD ROM The next screen prompts you to choose whether to verify the integrity of the installation media Click Skip verification to bypass verification of the installation media Verifying installation can take some time Click OK to proceed You are prompted to set a root
33. and the Async Driver VIB File in an Existing ESXi Installation An existing ESXi host can install async drivers from an async driver VIB file The VIB file is copied to the ESXi host by using the datastore browser and then installed using the esxc1i utility in the ESXi Shell NOTE This procedure requires remote ESXi network connectivity using vSphere client Perform the following steps to install the async drivers Extract the contents of the async driver zip file Identify the megaraid_sas zip file Extract the contents of the megaraid_sas zip file Identify the async driver vib file Log in to the ESXi host using vSphere client with administrator privileges such as root Using the Datastore Browser upload the async driver vib file to an ESXi host s datastore NO oe BS oD Enter the host into Maintenance mode NOTE You can enter host into maintenance mode through the vSphere Client or by adding the maintenancemode option to the esxcli command 8 Log in as root to the ESXi console through SSH or iLO DRAC 9 To install drivers from the VIB file this action requires an absolute path type the following command and press Enter esxcli software vib install v path async driver vib For example esxcli software vib install v vmfs volumes datastore async driver vib 10 Reboot the ESXi host 11 Exit Maintenance mode NOTE You can update an ESX host remotely by using the esxc1i utility which is par
34. arns that you will lose data if you click Clear Configuration or New Configuration The WebBIOS Configuration Method window appears Select Manual Configuration Manual configuration lets you control all attributes of the new storage configuration as you create drive groups and virtual drives and set their parameters Click Next The Disk Group Definition window appears You use this window to select drives to create drive groups Hold down the Ctrl key while you select two ready drives in the Drives panel on the left You must select an even number of drives Click Add To Array to move the drives to a proposed drive group configuration in the Disk Groups panel If you need to undo the changes click Reclaim Choose whether to use power save mode Choose whether to use drive encryption NOTE A RAID 1 virtual drive can contain up to 16 drive groups and up to 32 drives in a single span Other factors such as the type of controller can limit the number of drives You must use two drives in each RAID 1 drive group in the span After you finish selecting drives for the drive group click Accept DG Click Next The Virtual Drive Definition window appears You use this window to select the RAID level strip size read policy and other attributes for the new virtual drives Change the virtual drive options from the defaults listed on the window as needed Here are brief explanations of the virtual drive options RAID Level The drop
35. d Driver ISO Operating System and Chapter Controller Controller Device Driver File Names Support Support Support Chapter 7 VMware ESX ESXi 4 x and ESXi 5 x Yes Yes m ESX ESXi4 x VMware N A installation bundle VMware ESXi 5 5 Update 2 Yes Yes VIB file package VMware vSphere 5 5 Update 1 Yes Yes lt offline_bundle gt zip file package m ESXi 5 x VMware installation bundle VIB file package megaraid_sas zi p file package Chapter 8 Solaris 10 11 Yes Yes m For Gen1 82XX 83XX N A and 84XX SAS RAID controllers mega_sas 32 bit mega_sas 64 bit mega_sas conf m For Gen2 87XX 88XX 92XX 96XX and 98XX SAS RAID controllers mr_sas 32 bit mr_sas 64 bit mr_sas conf m For Gen2 MegaRAID Entry controllers mrentry_sas 32 bit mrentry_sas 64 bit mrentry_sas conf Chapter 9 XenServer 5 5 5 6 5 6fp1 6 0 6 1 6 2 Yes Yes N A RPMs and ISO support Chapter 10 Debian Yes Yes N A N A Chapter 11 OEL 5 6 6 6 7 Yes Yes N A KMOD RPMs and ISO support UEK R3 Update 2 for Oracle Linux 6 4 64 bit Yes Yes and later UEK R3 Update 3 Yes Yes Chapter 12 Fedora 17 18 19 20 Yes Yes N A KMOD RPMs support Chapter 13 CentOS 6 x 7 x Yes Yes N A N A Chapter 14 Oracle VM 3 3 3 Yes Yes N A N A Avago Te chnologies 8 MegaRAID SAS Device Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 MegaRAID Primary Storage Chapter 2 Windows Driver Installation 2 1 2 1 1 Thi
36. d but it will be for a different kernel version 4 Reboot the system to load the driver Installing or Updating the Driver by Using the DKMS RPMs Perform the following steps to install or update to the latest version of the Red Hat Linux system driver by using the DKMS RPMs In this example the driver version is 06 602 03 00 1 NOTE This DKMS packaging is provided only for RHEL5 x86 and x86_64 pre compiled binaries 1 Extract the packaging from the Linux system by typing the following commands and pressing Enter tar zxvf megaraid sas release tar gz cd dkms 1 tar zxvf megaraid_sas 06 602 03 00 1 dkms tar gz 2 Install the DKMS framework by typing the following commands and pressing Enter rpm ivh dkms 2 0 2 21 1 l1 noarch rpminstall DKMS rpm rpm ivh megaraid_sas 06 602 03 00 ldkms noarch rpm 3 Reboot to load the driver with the newer version by typing the following command and pressing Enter reboot Avago Technologies 24 MegaRAID SAS Device Driver Installation User Guide Chapter 3 Red Hat Linux Driver Installation November 2014 Uninstalling the Red Hat System Driver 3 4 Uninstalling the Red Hat System Driver NOTE When you uninstall the existing version of the driver the driver rolls back to previous version of the driver Perform the following steps to uninstall the lt kmod gt RPM In this example the driver version is 06 602 03 00 1 Type the following command and press Enter rpm qa
37. d press Enter mount r dev cdrom mnt cdrom Avago Technologies 43 MegaRAID SAS Device Driver Installation User Guide Chapter 7 VMware Driver Installation November 2014 7 1 3 7 1 4 Installing Async Drivers on the VMware ESX ESXi 4 x OS Navigate to lt cd mount point gt offline bundle and locate the lt offline bundle gt zip file To install drivers using the offline bundle type the following command and press Enter esxupdate bundle lt offline bundle gt zip update Reboot the ESX host Exit Maintenance mode Using esxupdate and the Datastore Browser in an Existing ESX or ESXi Installation An existing ESX host or ESXi host can install offline bundles that have been copied from the async release ISO to the ESX host or the ESXi host DE a a 9 Extract the contents of the ISO file Identify the lt offline bundle gt zip file or files Using the Datastore Browser upload the lt offline bundle gt zip file or files to an ESX or ESXi host s datastore Log in to the ESX host or the ESXi host by using an account with administrator privileges such as root Enter the host into Maintenance mode NOTE You can enter host into Maintenance mode through the vSphere Client or by adding the maintenancemode option to the esxupdate command Navigate to the vmfs volumes lt datastorename gt directory and locate the lt offline bundle gt zip file To install drivers using the offline bundle type the followi
38. down menu lists the possible RAID levels for the virtual drive Select RAID 1 Strip Size The strip size specifies the length of the data segments that the RAID controller writes across multiple drives not including parity drives For example consider a stripe that contains 64 KB of drive space and has 16 KB of data residing on each drive in the stripe In this case the stripe size is 64 KB and the strip size is 16 KB You can set the strip size to 8 16 32 64 128 256 512 and 1024 KB A larger strip size produces higher read performance If your computer regularly performs random read requests choose a smaller strip size The default is 64 KB Access Policy Select the type of data access that is allowed for this virtual drive RW Permit read write access This setting is the default Read Only Permit read only access Blocked Do not permit access Read Policy Specify the read policy for this virtual drive Normal Disable the read ahead capability This setting is the default Avago Technologies 10 MegaRAID SAS Device Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 16 17 18 19 20 MegaRAID Primary Storage Ahead Enable read ahead capability which permits the controller to read sequentially ahead of requested data and to store the additional data in cache memory anticipating that the data will be needed soon This setting speeds up reads for sequential data b
39. dy contain the source code depending on the type of installation that is on the CD or the DVD Otherwise you can use the sysinstal11 utility to download the source The installed OS is used only to build the custom ISO and then it is no longer required Boot to the disk with the new FreeBSD OS and then change to the usr src sys lt arch gt conf directory where lt arch gt is either i386 or amd64 depending on what type of architecture the ISO image is for You must edit the generic kernel configuration file in this folder so that the mfi and mpt drivers are not installed when the new custom ISO is built The mfi and mpt lines can be removed or commented out by adding before device as shown in the following examples device mfi LSI MegaRAID SAS device mpt LSI Logic MPT Fusion NOTE The preferred method to use when you edit the generic configuration file is to copy it to another file and then create a kernel using this new kernel configuration file However using that method here would require a more complex procedure and is unnecessary Issue the following commands to build the tools and the other items that are required to build the ISO image This command can take several hours to complete cd usr src make buildworld TARGET lt arch gt where lt arch gt is the architecture for the ISO image to be created If the make command fails immediately the system source code might not be installed correctly You can in
40. e Avago Technologies 18 MegaRAID SAS Device Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 Installing a MegaRAID Driver on the Windows Server 2012 Operating System Figure 8 Computer Management Option Component Services Computer Management Defragment and Optimize Drives Event Viewer iSCSI Initiator Local Security Policy ODBC Data Sources 32 bit ODBC Data Sources 64 bit Performance Monitor Resource Monitor Security Configuration Wizard Services The Computer Management window appears 5 Inthe left frame of the Computer Management window select Device Manager Figure 9 Device Manager Option File Action View Help am Ble e W Computer Management Local a gy WIN CUEUPTUTUA a System Toots p i Computer P Task Scheduler ca Disk drives p EB Event Viewer BE Display adapters gt gf Shared Folders p Be Local Users and Groups gt NI Performance p ef DVD CD ROM drives QA Human interface Devices gt Gy IDE ATA ATAPI controllers Device Manager D Keyboards a 53 Storage PI Mice and other pointing devices p Windows Server Backug E Monitors r t t i t r fal Disk Management p NP Network adapters p B Services and Applications b Ip Other devices p F Ports COM amp LPT gt a Print queues p D Processors p amp Sound video and game controllers p Storage controllers p tae System devices p Universal Serial Bus controllers
41. e Driver Installation User Guide Chapter 8 Solaris Driver Installation November 2014 Installing the Driver Package during OS Installation Solaris10 OS x86 Only Use the driver package under the directory intel solaris 10 u8 8 4 8 5 Solaris 11 and Solaris 11 U1 SPARC OSs Use the driver package under the directory sparc solaris11 Solaris 10 U9 and Solaris 10 U10 SPARC OSs Use the driver package under the directory sparc solaris10 u9 Installing the Driver Package during OS Installation Solaris10 OS x86 Only Perform the following procedure to install the Solaris 10 OS on any of the supported LSI MegaRAID controllers as a boot controller primary storage 1 Boot the Solaris installation to the following menu 1 Solaris Interactive default 2 Custom JumpStart 3 Solaris Interactive Text Desktop session 4 Solaris Interactive Text Console session 5 Apply driver updates 6 Single user shell Enter the number of your choice Select option 5 Apply driver updates Insert the LSI driver CD and choose the CD DVD option at the following prompt Insert media and enter media type Floppy CD DVD or End The following messages indicate that the driver is successfully installed extracting software on cd installing driver update in the miniroot After applying the driver the Solaris OS returns to the following prompt Insert media and enter media type Floppy CD DVD or End Select End
42. e Option File Action View Help e n E Bu tii p HCR amp Audio inputs and opus 1 Computer ca Dit derves By Display adopters of DVD CD ROM drives Oj Human interface Devices cy IDE ATA ATAP controllers Keyboards F Mice and other pointing deces B Monto O Network adapters a Other dences ja PU Sergie Communications Controller RA Portable Devices TP Ports COM amp LPT 8 Inthe Update Driver Software wizard select Browse My Computer to locate the updated driver on the USB CD or DVD 9 When the driver is found click Install to confirm as shown on the following screen Avago Technologies 17 MegaRAID SAS Device Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 2 8 2 8 1 Installing a MegaRAID Driver on the Windows Server 2012 Operating System Figure 6 Install Button Would you like to install this device software A Name LS Corp Storage controllers 4 Publisher LSI Corporation Always trust software from LS Corporation install Don t Install W You should only install driver software from publishers you trust How can 10 The installation wizard presents progress screens and announces the completion of the installation 11 After the driver is installed reboot the system Installing a MegaRAID Driver on the Windows Server 2012 Operating System The Microsoft Windows Server 2012 operating system package includes a MegaRAID dri
43. e the following command depending on which driver you use and press Enter For the mfi driver type the following commands and press Enter cd usr src sys modules mfi make For the mrsas driver type the following commands and press Enter cd usr src sys modules mrsas make These steps create the driver driver_name ko module in the usr src sys modules driver_name directory To load the kernel driver module type the following commands depending on which driver you use and press Enter For the mfi driver type the following commands and press Enter cd usr src sys modules mfi kldload v mfi ko For the mrsas driver type the following commands and press Enter cd usr src sys modules mrsas kldload v mrsas ko To load the driver automatically during bootup but still be linked dynamically perform the following steps depending on which driver you use To copy the mfi driver into the boot folder type the following command and press Enter Avago Technologies A MegaRAID SAS Device Driver Installation User Guide Chapter 6 FreeBSD Driver Installation November 2014 6 6 3 Updating Drivers in the FreeBSD System cp usr src sys modules mfi mfi ko boot kernel mfi ko To copy the mrsas driver into the boot folder type the following command and press Enter cp usr src sys modules mrsas mrsas ko boot kernel mrsas ko NOTE Back up the old module in case you want
44. ees 45 7 2 1 Using esxcli and the Async Driver VIB File in an Existing ESXi Installation 0 cee cece cence eee eee een e teen en eeees 45 7 2 2 Using esxcli and an Offline Bundle Async Driver Zip File in an Existing ESXi Installation 0 cece cece eee reenen 45 7 2 3 Installing an Upgrade sci iid cess seas ast e cede nade eae a gen yausa en nnd eee a a dane ee ea eee eR pee ee aon aa 46 7 24 Installing the VUM sie enervata eins Sages fate ie at i ic 3 taut ta pi sean eR ONS noa e e ana e dees 46 Chapter 8 Solaris Driver Installation 0 cece cece cece rece cence treet teen e eee nett reece teen eee nsec eneeeeeneeeeeeees 47 8 1 Contents of the Driver Distribution 0 cece cece cee eee ee ne eee eee eee Eten Een ene eet eee een eset tent eee een e eens 47 82 Supported Hardware 3 n er piata aceea a ot caca in pa tn E E dewed oe N na sabe Meee ade SONS Me Ga RAMS a aes 47 8 3 Supported Operating System senine siana aaa ata aa ca nce a aa ca da nai aa 8 aa dc ta 47 8 4 Installing the Driver Package during OS Installation Solaris10 OS x86 Only 0 cece eee eee 48 8 5 Installing the Driver Package during OS Installation Solaris11 OS x86 Only 0 cece eee 48 8 6 Installing or Upgrading the Driver Package after OS Installation 0 cece eee ce nent eee e een tense eee eeeeeeneenees 49 8 7 Removing the Driver Package er eeto acing ra aaa 4 tender i a Adele cee ea on ac a
45. egaraid umount mnt2 SH 4E e e He NOTE Make sure that you remove the USB flash drive before you execute the insmod command insmod 2 6 32 5 amd64 x86_64 megaraid_sas ko 5 Press Ctrl Alt F1 to return to the installer and continue the normal installation procedure Do not reboot after the installation is complete Press Ctrl Alt F2 to switch to console 2 again 7 Type the following commands and then press Enter cp lsi 2 6 32 5 amd64 x86_64 megaraid_sas ko target lib modules 2 6 32 5 amd64 kernel drivers scsi megaraid chroot target sbin depmod a 2 6 32 5 amd64 update initramfs u v k 2 6 32 5 amd64 exit Press Ctrl Alt F1 to return to the installer screen 9 Reboot to complete the installation Avago Technologies 56 MegaRAID SAS Device Driver Installation User Guide Chapter 10 Debian Driver Installation November 2014 Installing the MegaRAID 92xx Driver on a Debian System that Boots from a System Drive 10 2 Installing the MegaRAID 92xx Driver on a Debian System that Boots from a System Drive Perform the following steps to install the MegaRAID 92xx driver on a Debian system that boots from a system drive 1 Open a terminal and then type the following command and press Enter cp lib modules 2 6 32 5 amd64 kernel drivers scsi megaraid megaraid_sas ko tmp 2 Insert the USB flash and mount your USB flash drive 3 Type the following commands and then press Enter NOTE The system should detect the US
46. gt driver as an inbox option but a key patch was missing in inbox lt mfi gt driver which was fixed in Freel BSD 9 3 STABLI E Because of this inbox lt mrsas gt driver does not get preference over lt mf i gt driver To use the lt mrsas gt driver for OS installation use the driver update disk procedure For more information on how to use the driver update disk see Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller Primary Storage Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller Primary Storage This section describes how to load the FreeBSD OS kernel driver module to enable boot device support and then how to compile the current drivers into the kernel from source files Use the procedure in this section if your boot unit is going to be managed by the MegaRAID controller Avago Technologies 33 MegaRAID SAS Device Driver Installation User Guide Chapter 6 FreeBSD Driver Installation November 2014 6 4 1 6 4 2 Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller Primary Storage Issues Concerning the LSI mpt Driver and the Outdated LSI mpt Driver The process for using your MegaRAID controller for primary storage might be affected by the LSI mpt driver and FreeBSD versions 6 1 to 9 xcontaining outdated LSI mfi in box driver If the mpt driver issue occurs the system generates a continuous soft and hard reset and the system ca
47. he following commands and press Enter Avago Technologies 39 MegaRAID SAS Device Driver Installation User Guide Chapter 6 FreeBSD Driver Installation November 2014 Updating Drivers in the FreeBSD System cd usr src sys dev tar xf mrsas tgz mv mrsas Makefile usr src sys modules mrsas 5 Goto usr src sys 1386 conf if you are running a 32 bit version of the FreeBSD OS or usr src sys amd64 conf if you are running a 64 bit version of the FreeBSD OS and perform the following steps a Copy the GENERIC configuration file to another file name For example cp GENERIC MYKERNEL Open your current configuration file GENERIC MYKERNEL SMP or PAE or custom configuration with vi or another editor For example vi MYKERNEL Comment out the following lines by typing at the start of the line device cbb cardbus yenta bridge device mpt LSI Logic MPT Fusion e Fora dynamically loadable module comment out the following lines by typing at the start of the line For the mfi driver comment out the following line by typing at the beginning of the line if it exists device mfi LSI MegaRAID SAS For the mrsas driver comment out the following line by typing at the start of the line if it exists device mrsas LSI MegaRAID SAS2 e Fora statically linked module make sure the following lines are not commented out For the mfi driver make sure the follow
48. he FreeBSD 8 x OS and option 2 in the FreeBSD 9 x OS 5 Insert the diskette containing the driver_name ko module for the specific version of the FreeBSD OS into the diskette drive Avago Technologies 34 MegaRAID SAS Device Driver Installation User Guide Chapter 6 FreeBSD Driver Installation November 2014 6 4 3 Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller Primary Storage If you use a USB flash drive you might need to insert the drive before booting so the drive can be seen in the next step If so make sure to boot from the CD DVD drive and not from the USB drive For the mfi driver the driver_name koismfi ko For the mrsas driver the driver_name koismrsas ko 6 Perform the following steps at the loader prompt a To disable the mpt driver type the following commands and press Enter set hint mpt 0 disable 1set hint mpt 1 disable 1 NOTE Disabling the mpt driver is not required when you use a custom ISO image because the mpt driver will not exist if the custom image was created correctly A custom ISO is required only for the OS versions that need it as a prerequisite as described at the start of this section b To load anew driver from a diskette drive type either of the following two commands and press Enter For the mfi driver type the following command and press Enter load diskO mfi koFor the mrsas driver type the following command and press Enter load disk0 mrsas ko NOTE If you have
49. he following table lists the device driver files driver RPM and driver ISO support and driver deb package for the MegaRAID controllers These files are available on the Universal Driver Suite CD that accompanied your MegaRAID controller LSI updates the MegaRAID device drivers frequently To make sure that you have the current version of these driver files download the latest files from the LSI website at http www l si com support Pages download search aspx Refer to the readme file that accompanies the driver for any updated information To make a driver diskette extract the files from the Universal Driver Suite CD to a blank diskette or download the driver files from the LSI website and extract them to an empty diskette Label the diskette as the MegaRAID driver diskette for the given OS Avago Technologies MegaRAID SAS Device Driver Installation User Guide November 2014 Chapter 1 Overview Driver Names Table 1 MegaRAID Device Driver Files Driver RPMs Support Driver ISO Support and Driver Deb Package Support Avago Te MegaRAID MegaRAID Operating System and Chapter ae a Device Driver File Names Driver ao Be Support Support Chapter 2 Windows 2003 R2 SP2 Yes Yes megasas catmegasas N A Windows Vista SP2 Yes Yes Ei A dala ets cease Windows 7 Client SP1 Yes Yes M Windows 8 8 1 8 1 Update Yes Yes Windows 2008 SP2 Yes
50. hen becomes the boot unit for which your version of the FreeBSD OS does not have an up to date built in driver Follow these steps to create a driver diskette 1 Insert a blank diskette and the LSI software CD into an installed FreeBSD OS 2 Navigate to one of the following folders depending on the OS version For the FreeBSD 8 2 OS navigate to com For the FreeBSD 8 3 OS navigate to com For the FreeBSD 8 4 OS navigate to com For the FreeBSD 9 0 OS navigate to com For the FreeBSD 9 1 OS navigate to com For the FreeBSD 9 2 OS navigate to com For the FreeBSD 9 3 OS navigate to com For the FreeBSD 10 0 OS navigate to components 1 3 Copy the appropriate driver to the diskette This driver is the driver from the folder 13 86 if you are installing the 32 bit FreeBSD OS and the amd 4 folder if you are installing the 64 bit FreeBSD OS You need the driver source from the file component s src driver_name tgz to update the kernel with a new driver For example pone 2 ponents 8 3 ponents 8 4 ponents 9 0 1 2 3 0 pone pone nts 8 nts 9 nts 9 ponents 9 O O OD O O O Orv For the mfi driver the driver source is in the components src mfi tgz file For the mrsas driver the driver source is in the components src mrsas tgz file NOTE For FreeBSD 9 3 version with inbox lt mrsas gt driver for Fusion Adapters device ID 0x005b 0x005d 0x005f FreeBSD 9 3 RELEASE has support for lt mrsas
51. hods exist to start Device Manager including one general method for all supported versions of the Windows OS Perform the following steps to add or update the MegaRAID driver in the Windows environment using Device Manager 1 Select Start gt Search gt devmgmt msc gt enter key for all versions except the Windows 2003 OS In Device Manager a MegaRAID controller with no driver appears under the heading Other devices as a RAID Controller or Unknown Device depending on the system history 2 Right click and select either RAID Controller or Unknown Device as appropriate 3 If the device does not appear double click Storage controllers to expose any detected controllers that are supported by an existing driver 4 Ifyou locate the MegaRAID controller right click on the controller The driver installation steps for the Windows 2008 OS are the same no matter where the device was found Click Update Driver Software Click Browse My Computer to search for driver software Click the Browse button ON DM In the Browse for Folder window locate the previously extracted driver files from the local boot disk CD DVD network or USB device 9 Click OK 10 Click Next 11 Click Install The Update Driver Software wizard shows the message The software for this device has been successfully installed 12 Reboot the system Secondary Storage on the MegaRAID Controller with the Windows 2003 OS The MegaRAID driver is added or
52. ia dare 8 oasis yuan eas Mae 49 8 7 1 Removing an Existing Driver Package 6 ceea 50 8 7 2 Removing an Inbox Driver Package on the Solaris 10 OS cece cece eecee eee rete nee eee n teen tenn een een tent ean e ees 50 8 7 3 Removing an Inbox Driver Package on the Solaris 11 OS 12 00 cece eee eee 51 8 7 4 Removing an Inbox Driver Package on the Solaris 11 OS Bootable LSI Controller 0 cece eee e eee e eee e cence enone 51 8 8 Notes stiute sini aia a pa aie ac le ata a oa gra goa a e aa i Herel nile a a AE iti Sia Albion Sie ante 5 Hels 52 Chapter 9 XenServer Driver Installation ssessssssssssssssssssssososessossssossesssososessosoessessososesessosesessoeo 53 9 1 Creating a Driver Update Disk DUD with a USB Drive 0c ccc cece cence renee tenet e eee been e eee n eben een eneen ees 53 9 2 Installing the XenServer 6 x OS on Storage Managed by a MegaRAID Controller Primary Storage 0 cece eect eee ence eens 53 9 3 Installing or Updating the XenServer 6 0 6 1 or 6 2 OS Driver cece ccc cece cence cen e eee e eben eee e eee n eben eee eneeeeenes 55 Chapter 10 Debian Driver Installation ccc cece ccc c ccc eter cece cnet cree teen eee n eee e nee e renee eee eee E 56 10 1 Installing the MegaRAID 92xx Driver on Storage Managed by a MegaRAID Controller 0 eee 56 10 2 Installing the MegaRAID 92xx Driver on a Debian System that Boots from a System Drive
53. ing line is not commented out device mfi LSI MegaRAID SAS For the mrsas driver make sure the following line is not commented out device mrsas LSI MegaRAID SAS2 e If you do not have a MegaRAID 92XX or earlier controller installed in your system make sure to comment out the following line device mfi LSI MegaRAID SAS Save your changes NOTE Each line is an entry in this file Make sure a newly added entry is ona new line Inthe usr src sys conf file perform the following steps for the mfi driver or the mrsas driver depending on which driver you use For the mfi driver add the following entries after the entry for dev mfi mfi_cam c dev mfi mfi_syspd c optional mfi With LSI 2208 based RAID controller support if your mfi driver is older than 4 408 xx xx and you do not have mrsas ko driver in your system also add the following dev mfi mfi_fp c optional mfi dev mfi mfi_tbolt c optional mfi For the mrsas driver make sure that the following entries are present dev mrsas mrsas c optional mrsas dev mrsas mrsas_cam c optional mrsas dev mrsas mrsas_ioctl c optional mrsas NOTE Each line is an entry in this file Make sure a newly added entry is ona new line Save your changes Avago Technologies 40 MegaRAID SAS Device Driver Installation User Guide Chapter 6 FreeBSD Driver Installation November 2014 6 6 2 6 Updating Drivers in the FreeBSD System g Tocompile the kernel go
54. iver Mount the USB stick to verify its contents Make sure the DUD image is in iso9660 format or MS DOS format by typing the following command af T Press Enter The file system type and other information about the mounted devices appear Installing from a Driver Update Diskette To install the MegaSAS device driver in a new SuSE Linux Enterprise Server create the driver update diskette by using the Linux driver image Perform the following steps to install the driver Refer to your system documentation if needed and boot the server with the installation CD or DVD At the installation message perform one of the following actions Press F5 for SuSE Linux Enterprise Server 10 Press F6 for SuSE Linux Enterprise Server 11 Press F6 for SuSE Linux Enterprise Server 12 Continue the installation procedure and when prompted insert the driver diskette The utility locates and loads the driver for your controller Press Alt Ctrl F4 to verify that the driver is loaded Press Alt Ctrl F1 to return to the installation Follow the SuSE installation procedure to complete the installation Installing or Updating the SuSE Linux Enterprise Server Driver Installing the Driver by Using the Generic RPMs Perform the following steps to install or upgrade to the latest version of the SLES 10 11 or 12 driver by using the generic RPMs 1 Boot the system Go to Console your terminal GUI Perform the following steps to
55. l as shown in the following figure Avago Technologies 15 MegaRAID SAS Device Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 Installing a MegaRAID Driver on the Microsoft Windows 8 OS Figure 2 Settings Bar Settings 5 In Control Panel click Hardware and Sound The following figure appears Figure 3 Hardware and Sound BA Control Panel _ ol x oo gt A Control Panel X Search Control Panel 2 Adjust your computer s settings View by Category Y System and Security Review your computer s status Back up your computer User Accounts Change account type ev Find and fix problems Appearance and Personalization Change the theme Change desktop background Network and Internet View network status and tasks if Choose homegroup and sharing options Adjust screen resolution Hardware and Sound 5 Clock Language and Region View devices and printers jE Add a device i Connect to a projector Adjust commonly used mobility settings Change keyboards or other input methods A Ease of Access Let Windows suggest settings Optimize visual display A Programs ku Uninstall a program 4 Get programs 6 In Hardware and Sound click Device Manager under the heading Devices and Printers The following figure appears Avago Technologies 16 MegaRAID SAS Device Driver Installation User Guide November 2014 Figure 4 Device Manager a Hard
56. l drv sparcv9 mr_sas inbox mv kernel drv mr_sas conf kernel drv mr_sas conf inbox 4 Continue with the instructions in Section 8 6 Installing or Upgrading the Driver Package after OS Installation to complete the installation of the LSI driver package Avago Technologies 51 MegaRAID SAS Device Driver Installation User Guide Chapter 8 Solaris Driver Installation November 2014 Notes 8 8 Notes The following are known limitations The mr_sas driver is not loaded attached in the Solaris 10 Update 4 version when you use certain controllers This issue is an OS limitation This issue is fixed in Solaris 10 Update 5 and later In the Solaris 11 OS the action Install Time Update ITU of the driver is not supported The Solaris 11 OS requires IPS packaging it does not support the legacy Solaris 10 OS ITU install method Avago Technologies 52 MegaRAID SAS Device Driver Installation User Guide Chapter 9 XenServer Driver Installation November 2014 Creating a Driver Update Disk DUD with a USB Drive Chapter 9 XenServer Driver Installation 9 1 9 2 This chapter describes how to install the XenServer 5 0 OS XenServer 6 0 OS XenServer 6 1 OS and the XenServer 6 2 OS NOTE The XenServer OS driver support is for 32 bit systems only Creating a Driver Update Disk DUD with a USB Drive You can transfer a driver disk image to a USB drive with the rawrite tool from DOS or the dd utility in Linux
57. ller and installs the appropriate driver in the kernel The system boots and displays the devices connected or configured on the controller Avago Technologies 23 MegaRAID SAS Device Driver Installation User Guide Chapter 3 Red Hat Linux Driver Installation November 2014 3 3 3 3 1 3 3 2 Installing or Updating the Red Hat Linux System Driver Installing or Updating the Red Hat Linux System Driver Installing or Updating the Driver by Using the Generic RPMs Perform the following steps to install or update to the latest version of the Red Hat Linux system driver by using the generic RPMs 1 Boot the system 2 Go to Console your terminal GUI 3 Perform the following steps to install the lt kmod gt RPM In this example the driver version is 06 602 03 00 a Uninstall the earlier version if needed b Extract the packaging from the Linux system by typing the following command and pressing Enter tar zxvf megaraid_sas_components gz c For RHEL5 Update 8 architecture x86_64 type the following commands and press Enter cd rhel5_ocel5 centos5 rpms lt rpm ivh kmod megaraid_sas 06 602 03 00 1 e15 8 x86_64 rpm d For RHEL6 Update 2 architecture x86_64 type the following commands and press Enter cd rhel6_oel6_centos6 rpms l rpm ivh kmod megaraid_sas 06 602 03 00_e16 2 1 x86_64 rpm NOTE You need to select the correct RPM from the available bundled RPMs Otherwise you will see an RPM installe
58. n how to compile the current drivers into the kernel from source files Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller Use the following procedure if your boot unit will be managed by the MegaRAID controller As a prerequisite you need an OS Installation CD for the FreeBSD 8 2 and FreeBSD 9 0 OSs i386 or amd64 Use the CD that you created using the instructions in Section 6 4 3 Creating a Custom ISO Image to Exclude the mfi and mpt Drivers Although LSI does not fully support the FreeBSD 6 x OS the FreeBSD 6 x OS versions also require a custom ISO image if primary storage is required NOTE This procedure is specific to versions of the FreeBSD OSs for which a compiled module is available For other versions of a FreeBSD OS for which a compiled module is not supplied by LSI you must compile your own module from source files Section 6 6 2 Compiling and Loading the Driver as a Module by Using kldload Dynamically Loadable Module Perform the following steps to install the FreeBSD OS on storage managed by a MegaRAID controller 1 Disconnect all SCSI ATA and SAS devices in the system except for the CD DVD drive and the hard drives that are connected to the MegaRAID controller 2 Create the RAID virtual drives on the MegaRAID controller using WebBIOS or Preboot CLI Insert the FreeBSD Installation disk into the CD DVD drive and boot from it At the FreeBSD boot menu select Escape to loader prompt option 6 in t
59. ng command and press Enter esxupdate bundle lt offline bundle gt zip Reboot the ESX host or the ESXi host Exit Maintenance mode Using vihostupdate and a CD in an Existing ESX or ESXi Installation An ESX host or an ESXi host can be updated remotely by using the vihostupdate utility which is part of the vSphere CLI For more details on the vihostupdate utility refer to the vSphere Command Line Interface Installation and Reference Guide 1 2 Power on the ESX host or the ESXi host Place the driver CD in the CD ROM drive of the host where either the vSphere CLI package is installed or vMA is hosted Mount the driver CD Navigate to the lt cd mount point gt offline bundle directory and locate the lt offline bundle gt zip file To install drivers using the offline bundle type the following vihostupdate command and press Enter vihostupdate lt conn_options gt install bundle lt offline bundle gt zip For example vihostupdat server myesxhost username root password mypassword install bundle driver offline bundle zip Avago Technologies 44 MegaRAID SAS Device Driver Installation User Guide Chapter 7 VMware Driver Installation November 2014 7 2 7 2 1 7 2 2 Installing Async Drivers on the VMware ESXi 5 x OS Installing Async Drivers on the VMware ESXi 5 x OS An existing ESXi host can install drivers from a specific VIB file or from an megaraid_ sas zip file Using esxcli
60. nnot boot The installation disk will not install the OS and the process must be terminated To avoid the issue with the mpt driver you need to disable the mpt driver If you have FreeBSD versions up to 8 2 or 9 0 your FreeBSD OS most likely contains the outdated mfi driver in the kernel You might need a new FreeBSD kernel ISO to exclude the outdated mfi driver before you load the updated mfi driver version 4 8 or newer or the mrsas driver With the new FreeBSD kernel ISO and the updated mfi driver version 4 8 or newer or the mrsas driver you can complete the installation and boot your FreeBSD system through a MegaRAID virtual drive This situation no longer exists after the mpt driver issue is fixed and the outdated inbox mfi driver is replaced with the new mfi driver LSI is working to resolve this situation so that the extra steps are not necessary in the future This issue does not affect the FreeBSD 8 3 and FreeBSD 8 4 OS See Section 6 4 1 Issues Concerning the LSI mpt Driver and the Outdated LSI mpt Driver if your FreeBSD OS has this issue After you create a custom FreeBSD Installation disk with the new FreeBSD kernel custom ISO image and you have the mfi driver version 4 8 or newer or the mrsas driver ready follow the instructions in Section 6 4 2 Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller These instructions describe how to load the FreeBSD kernel driver module to enable boot device support and the
61. of the SLES system driver by using the DKMS RPMs In this example the driver version is 06 602 03 00 1 NOTE This DKMS packaging is provided only for SLES10 x86_64 and SLES11 x86_64 pre compiled binaries 1 Extract the packaging from the Linux system by typing the following commands and pressing Enter tar zxvf megaraid sas release tar gz cd dkms 1 tar zxvf megaraid_sas 06 602 03 00 1 dkms tar gz 2 Install the DKMS framework by typing the following commands and pressing Enter rpm ivh dkms 2 0 2 21 1 l noarch rpminstall DKMS rpm rpm ivh megaraid_sas 06 602 03 00 ldkms noarch rpm 3 Reboot to load the driver with the newer version by typing the following command and pressing Enter reboot 4 3 Uninstalling the SuSE Linux Enterprise Server Driver NOTE When you uninstall the existing version of the driver the driver rolls back to previous version of the driver Perform the following steps to uninstall the lt kmod gt RPM In this example the driver version is 06 602 03 00 1 Type the following command and press Enter rpm qa grep megaraid_sas 2 Find the string that contains the text megaraid_sas and copy the string 3 Type the following commands and press Enter rpm e megaraid sas 06 602 03 00 1 sles10 reboot Avago Technologies 28 MegaRAID SAS Device Driver Installation User Guide Chapter 5 Ubuntu Linux Driver Installation November 2014 Installing the Driver in a New Ubuntu Linux LTS OS
62. oftware vib install d vmfs volumes datastore megaraid_sas zip Reboot the ESXi host Exit Maintenance mode Installing an Upgrade The upgrade process is similar to a new installation except for the esxc1i command To upgrade type the following command and press Enter esxcli software vib update v VIBFILE NOTE Before you run the esxc1i command enter the ESXi host into Maintenance mode You can enter the host into Maintenance mode through the vSphere Client or by adding the maintenancemode option to the esxcli command Installing the VUM The VMware Update Manager VUM is a plug in for the Virtual Center Server vCenter Server You can use the VUM utility to install a VIB by importing the associated offline bundle package a zip file that contains the VIB and metadata You can then create an add on baseline and remediate the host or hosts with this baseline Refer to the vCenter Server documentation for more information about VUM Avago Technologies 46 MegaRAID SAS Device Driver Installation User Guide Chapter 8 Solaris Driver Installation November 2014 Contents of the Driver Distribution Chapter 8 Solaris Driver Installation 8 1 8 2 8 3 This chapter describes how to use the mrsas Driver Package Update to install the LSI MegaRAID controller driver for the Solaris OS The following topics are documented Contents of the driver distribution Supported hardware Supported operating system
63. ogies 60 MegaRAID SAS Device Driver Installation User Guide Chapter 14 OVM Driver Installation November 2014 Chapter 14 OVM Driver Installation To install the device driver in new OVM 3 x and OVM 3 x x systems or to update the driver on existing operating systems see Section 3 Red Hat Linux Driver Installation and follow the instructions to install a new OVM 3 x and 3 x x systems NOTE The OVM OS driver support is for 64 bit systems only NOTE The OVM OS does not support a driver update disk Avago Technologies 61 MegaRAID SAS Device Driver Installation User Guide November 2014 Revision History Revision History The following document changes were made Version and Date 80 00163 01 Rev Q November 2014 Description of Changes Updated the supported operating system versions 80 00163 01 Rev P August 2014 m Updated template of the document m Updated the supported operating system versions 80 00163 01 Rev O June 2014 Updated the supported operating system versions 80 00163 01 Rev N March 2014 m Added the FreeBSD Debian and CentOS operating systems m Updated the operating system versions 80 00163 01 Rev M February 2014 Updated the supported operating system versions 80 00163 01 Rev L August 2013 Updated the supported operating system versions 80 00163 01 Rev K May 2013 m Updated the supported operating system versions 80 00163 01 Rev
64. om the SuSE Linux Enterprise Server installation CD or DVD 1 Boot the server with the SuSE Linux Enterprise Server SP CD or DVD The system BIOS must support booting from a CD ROM BIOS settings might require changes to allow CD ROM booting Refer to your system documentation Follow the installation procedure for the SuSE OS If you do not provide a driver disk at boot time the driver is loaded automatically during the installation process Creating a Driver Update Disk DUD with a USB Drive You can transfer a driver disk image to a USB drive with the rawrite tool from DOS or the dd utility in Linux The URL for the rawrite tool is http www tux org pub dos rawrite On a Linux machine you can use the dd command to burn a driver ISO image on a USB drive Perform the following steps to create a DUD with a USB drive 1 2 Insert a USB stick into a Linux machine making sure that the USB drive is not mounted Type the following command dd if lt driver iso gt of dev sdx Where dev sdx is the USB drive NOTE Ensure that you pick the correct DUD image from the LSI release bundle The DUD image should match with the installed OS kernel version Press Enter Avago Technologies 26 MegaRAID SAS Device Driver Installation User Guide Chapter 4 SuSE Linux Enterprise Server SLES Driver Installation November 2014 4 1 3 4 2 4 2 1 4 5 6 Installing or Updating the SuSE Linux Enterprise Server Dr
65. or the Windows XP 64 bit OS and the Windows 2003 OS the F6 keystroke adds a step to the installation process so you can specify an additional device If the F6 key is not recognized within the time allowed the OS installation ultimately fails citing the lack of a disk for the OS If the Megasas files are not unzipped on the driver diskette or if the driver bit size does not match 32 bits versus 64 bits the Windows installation program reports that the Megasas2 file is corrupted For the Windows 2008 OS the MegaRAID driver is added after other installation steps Perform the following steps to set up the primary operating system storage on your MegaRAID controller 1 The operating system loads and decompresses the core files from the boot DVD first 2 After the Install Windows Language selection window the Install Now window appears followed by the OS selection license agreement and installation type On new installations the Custom installation type is the only option 3 On the next Windows installation window a Load Driver link introduces the MegaRAID driver For the Windows 2008 OS you can add the driver from the CD DVD or USB flash drive 4 Click Browse and select the device and the folder with the previously extracted drivers 5 Inthe next Windows installation window select the driver to be installed and click Next If no driver appears two common problems might have occurred The folder with the files was not selected
66. or this device has been successfullyinstalled Reboot the system Using the Device Manager to Install Secondary Storage with the Windows 2003 OS If you do not install the MegaRAID driver at boot time the MegaRAID driver is added or updated in the Windows environment by using Device Manager Many methods exist to start Device Manager including one general method for all supported variants of the Windows 2003 OS Perform the following steps 1 PNR 10 11 12 Select Run gt Search gt devmgmt msc gt enter key In Device Manager a MegaRAID controller with no driver appears under Other devices as a RAID controller Right click and select RAID Controller If the device is not shown double click Storage controllers to expose any detected controllers supported by an existing driver If you locate the MegaRAID controller right click the controller The driver installation steps for the Windows 2003 OS the same no matter where the device was found Click Update Driver Software Click Browse My Computer to search for driver software Click the Browse button In the Browse for Folder window locate the previously extracted driver files from the local boot disk CD DVD network or USB device Click OK Click Next Click Install The Update Driver Software wizard shows the message The software for this device has been successfully installed Reboot the system Avago Technologies 14 MegaRAID SAS De
67. ort the same OSs Refer to the documentation for your MegaRAID controller for information about the OSs that the controller supports You can search archived versions of this guide on the LSI website for information about OSs that are supported for earlier controllers 1 1 Driver Description You can install the MegaRAID SAS Controller in any IBM AT compatible computer that has a PCI Express PCle local bus The RAID controller can run under various OSs To use the controller with these OSs you must install software drivers LSI provides software drivers for the following OSs Microsoft Windows Red Hat Linux SuSE Linux Enterprise Server SLES Ubuntu Linux FreeBSD VMware Solaris XenServer Debian CentOS Oracle Enterprise Linux OEL Fedora Oracle Virtual Machine OVM 1 1 1 Driver Functions MegaRAID provides drivers for the MegaRAID SAS RAID controllers which bring up to 12 Gb s Serial Attached SCSI performance and 6 0 Gb s SATA III performance to host adapter workstation and server designs The controllers support internal and external storage devices which let you use a system that supports enterprise class SAS and desktop class SATA III drives The SAS controllers integrate eight high performance SAS SATA III PHYs and a PCI Express bus master DMA core Each of the eight PHYs is capable of 6 0 Gb s SAS link rates and 6 0 Gb s SATA III link rates The SAS RAID controllers support
68. pter 11 Oracle Enterprise Linux Driver Installation To install the device driver in new Oracle Enterprise Linux OEL 5 x 6 x and 7 x systems or to update the driver on existing operating systems see Section 3 Red Hat Linux Driver Installation and follow the instructions to install a new OEL system NOTE An optimized single unified binary is provided for RHEL CentOS and OEL operating systems Avago Technologies 58 MegaRAID SAS Device Driver Installation User Guide Chapter 12 Fedora Driver Installation November 2014 Chapter 12 Fedora Driver Installation To install the device driver in new Fedora 17 Fedora18 Fedora19 and Fedora 20 systems or to update the driver on existing operating systems see Section 3 Red Hat Linux Driver Installation and follow the instructions to install a new Fedora system NOTE The Fedora OS does not support a driver update disk Avago Technologies 59 MegaRAID SAS Device Driver Installation User Guide Chapter 13 CentOS Driver Installation November 2014 Chapter 13 CentOS Driver Installation To install the device driver in new CentOS 6 3 CentOS 6 4 and CentOS 7 0 systems or to update the driver on existing operating systems see Section 3 Red Hat Linux Driver Installation and follow the instructions to install a new CentOS 6 3 CentOS 6 4 and CentOS 7 0 systems NOTE An optimized single unified binary is provided for RHEL CentOS and OEL operating systems Avago Technol
69. r DVD Avago Technologies 20 MegaRAID SAS Device Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 Installing a MegaRAID Driver on the Windows Server 2012 Operating System Figure 12 Update Driver Software Wizard Browse for dever software on your computer leemu fme Awer n m iscate Let me pck froma list of device Givers ce my computer N het i m ht hee ine Smeets ath the dee mt af deme heey the ere tegen m he dene After you locate the updated driver the Windows Security dialog appears 9 Click the Install button in the Windows Security dialog as shown in the following figure Figure 13 Windows Security Dialog Would you like to install this device software Name LSI Corp Storage controllers GQ Publisher LS Corporation C Always trust software from LS Corporation Don t Install You should only install driver software from publishers you trust How can decide which device software is safe to install The installation wizard presents progress screens and announces the completion of the installation Figure 14 Installation Complete Dialog Wow hn successhly updated your driver software A marea has tome mina tte Be memes ter thn seve e LB Meg LAS BOE fe The hodamo poe AP eted af soi met ti see eet es pe 10 Reboot the system after the driver is installed Avago Technologies 21 MegaRAID SAS Device Driver Installation User Guide Chapter 3 Red Hat Linux
70. ring the installation process Creating a Driver Update Disk DUD with a USB Drive You can transfer a driver disk image to a USB drive with the rawrite tool from DOS or the dd utility in Linux The URL for the rawrite tool is http www tux org pub dos rawrite On a Linux machine you can use the dd command to burn a driver ISO image on a USB drive Perform the following steps to create a DUD with a USB drive 1 Insert a USB stick into a Linux machine making sure that the USB drive is not mounted 2 Type the following command dd if lt driver iso gt of dev sdx Where dev sdx is the USB drive NOTE Ensure that you pick the correct DUD image from the LSI release bundle The DUD image should match with the installed OS kernel version Press Enter Mount the USB stick to verify its contents Avago Technologies 22 MegaRAID SAS Device Driver Installation User Guide Chapter 3 Red Hat Linux Driver Installation November 2014 3 1 3 3 2 Installing the Red Hat Enterprise Linux 5 x 6 x or 7 x Driver in an Existing Installation 5 Make sure the DUD image is in iso9660 format or MS DOS format by typing the following command af T 6 Press Enter The file system type and other information about the mounted devices appear Installing from a Driver Update Diskette Perform the following steps to create the driver update diskette by using the Linux driver image and to install the MegaRAID device driver in a new Red
71. rive or unit The following procedures document two types of OS installation Installation on a system does not include an LSI controller before the OS installation Avago Technologies 37 MegaRAID SAS Device Driver Installation User Guide Chapter 6 FreeBSD Driver Installation November 2014 6 5 1 6 5 2 6 6 Updating Drivers in the FreeBSD System Installation on a system includes an LSI controller before the OS installation Installing the FreeBSD OS on a System that Does Not Include an LSI Controller before the OS Installation Perform the following steps 1 Get the latest driver source files for your version of the FreeBSD OS See Section 6 2 Obtaining LSI FreeBSD Drivers Install the FreeBSD OS including the kernel source on a motherboard attached drive It is critical to include kernel source files After the OS installation reboot Follow the instructions for driver installation in Section 6 6 1 Updating the Kernel with the New Driver Source for a statically linked module or in Section 6 6 2 Compiling and Loading the Driver as a Module by Using kldload Dynamically Loadable Module After the FreeBSD OS is installed and the driver is updated power down the system and install the MegaRAID controller For assistance refer to the installation guide that came with the controller Installing the FreeBSD OS on a System that Includes an LSI Controller before the OS Installation Perform the follo
72. river modules for the FreeBSD 9 0 OS located at 32 bit components 9 0 i386 64 bit components 9 0 amd64 Compiled and tested kernel driver modules for the FreeBSD 9 1 OS located at 32 bit components 9 1 1386 64 bit components 9 1 amd64 Compiled and tested kernel driver modules for the FreeBSD 9 2 OS located at 32 bit components 9 2 1386 64 bit components 9 2 amd64 Compiled and tested kernel driver modules for the FreeBSD 9 3 OS located at 32 bit components 9 3 1386 64 bit components 9 3 amd64 Compiled and tested kernel driver modules for the FreeBSD 10 0 OS located at 32 bit components 10 0 i386 64bit components 10 0 amd64 Driver source files for the FreeBSD 8 x 9 x and 10 x OSs are located at the following paths Forthe mfi driver components src mfi tgz Forthe mrsas driver components src mrsas tgz m LSI website You can download the latest compiled and tested driver modules and the driver source files for the FreeBSD OS from the LSI website at http www lsi com support Pages download search aspx Avago Technologies 32 MegaRAID SAS Device Driver Installation User Guide November 2014 6 3 6 4 Creating a FreeBSD OS Driver Diskette Chapter 6 FreeBSD Driver Installation Creating a FreeBSD OS Driver Diskette You need a diskette to install the FreeBSD OS on a virtual drive or a drive that is managed by a MegaRAID controller The virtual drive or drive t
73. river package is located type the following command and press Enter Sdpkg r megaraid sas This action removes the driver from the Ubuntu OS 2 Perform the following steps if you are not running the OS as root a Inthe directory where the megaraid_sas driver package is located type the following command and press Enter sudo Sdpkg r megaraid sas You are prompted for the password b Provide the password and press Enter This action removes the driver from the Ubuntu OS Avago Technologies 30 MegaRAID SAS Device Driver Installation User Guide Chapter 6 FreeBSD Driver Installation November 2014 LSI MegaRAID Drivers and Software for the FreeBSD OS Chapter 6 FreeBSD Driver Installation 6 1 This chapter describes how to install the driver for the FreeBSD operating system OS LSI MegaRAID Drivers and Software for the FreeBSD OS This section describes the following topics m FreeBSD OS administration information Installing LSI drivers and software in the FreeBSD OS FreeBSD OS Administration Information You can find the latest FreeBSD OS administration information at http www freebsd org doc en_US ISO8859 1 books handbook http www freebsd org doc en_US ISO8859 1 books handbook disks adding html You can search for manual pages online at http www freebsd org cgi man cgi Installing LSI Drivers and Software in the FreeBSD OS This section provides detailed instructions for installing the LSI driver
74. s chapter describes the installation of the following Microsoft Windows OSs Windows XP SP2 64 bit only Windows 2003 R2 SP2 Windows Vista SP2 Windows 7 Client SP1 Windows 8 8 1 8 1 Update Windows 2008 SP2 Windows 2008 R2 SP1 Windows Server 2012 Windows Server 2012 R2 MegaRAID Primary Storage In the MegaRAID primary storage configuration the Windows OS is installed on virtual drives provided by the MegaRAID controller The MegaRAID controller includes a pre boot configuration utility WebBIOS that creates the virtual drive before the installation of the Windows OS starts To install the Windows OS prepare a USB flash drive CD ROM or diskette as appropriate with the MegaRAID driver The driver is distributed in a series of nested compressed files Use an existing Windows device to extract the files for the driver loading device USB CD ROM or diskette by using the appropriate Windows driver Only two driver choices exist across the supported Windows versions one for 32 bit systems or one for 64 bit systems Storage Configuration These steps describe how to create the virtual drive used for the Windows OS You can add other virtual drives to the running OS after the Windows OS has been installed The MegaRAID preboot BIOS utility WebBIOS that creates the virtual disk for the Windows OS is accessible during the power on self test POST part of bootup Refer to the MegaRAID SAS Software User Guide for more information
75. ssoeoe 9 2s MegaRAID Primary Storage isa vies tar i d tea ptr aaa arda AN e la a aa ta Ari ad 05 a day E d 9 2 1 1 Storage Configuratie steel c ulated aie e ar al t aa ideala ya RES a ia NE a e at a erai 9 2 2 Primary OS Storage on the MegaRAID Controller ceea ear 12 2 3 Secondary Storage on the MegaRAID Controller with the Windows 2008 OS ceea 12 2 4 Using the Device Manager to Install MegaRAID on the Windows 2008 OS ceea 13 2 5 Secondary Storage on the MegaRAID Controller with the Windows 2003 OS eee 13 2 6 Using the Device Manager to Install Secondary Storage with the Windows 2003 OS cece eee 14 2 7 Installing a MegaRAID Driver on the Microsoft Windows 8 OS 0 cece ea 15 27 1 Diiver Upgrades seria pietate ce sorina pee iazul ele e ai cai Cn pa aa a eta data aeale a tal la aa 1 15 2 8 Installing a MegaRAID Driver on the Windows Server 2012 Operating System ceea 18 2 8 1 Upgrading the Driver for the Windows Server 2012 Operating System ce eee eee 18 Chapter 3 Red Hat Linux Driver Installation eceeeeeeeeeeeeeeeeeeeaeeeeeeeeeeeeeeeaeneeeeeneeeeeneeeenneeeanaeeee 22 3 1 Installing the Driver in a New Red Hat Enterprise Linux 5 x 6 x OF 7 XOS 2 0 cece ccc e cece eee 22 3 1 1 Installing froma CD or a DVD cece ose email d ae an a tay ees aa audi ab aa ta c ek para gad i 0 Measean Cadet d 22 3 1 2 Creating a Driver Update Disk DUD with a USB Dri
76. stall the source code using the sysinstal11 utility Within the sysinstal11 utility select the source code from within the Distributions selection For FreeBSD OS version 9 0 or later the generic kernel must be built in a separate command Previous versions do not require this step If you are building the kernel for version 9 0 or later enter the following commands before continuing otherwise you can skip this step cd usr sre make buildkernel TARGET lt arch gt Where lt arch gt is the architecture for the desired ISO image Issue the following commands to build the ISO image The make command can take several hours to complete See the second note after this step if you are building the kernel for FreeBSD OS version 9 0 or later cd usr src release make release BUILDNAME FBSD_ lt version gt CUSTOM CHROOTDIR usr MyCustomBuild EXTSRCDIR usr sre A TARGET lt arch gt N NOPORTS 1 NODOC 1 AKE_ISOS 1 Where lt version gt is the FreeBSD version being built and lt arch gt is the architecture for the desired ISO image The BUILDNAME and CHROOTDIR values are examples You can set these values to whatever you want Ports and Docs are not included in this example because it is faster and less complex to leave these values out of the build If Ports and Docs were included the build process might fail because more packages might be needed Visit the FreeBSD website at http www freebsd org for complete documen
77. su You are prompted for the password b Provide the password and press Enter c Inthe directory where the package is located type the following command and press Enter dpkg i Package deb This action installs the driver on the Ubuntu OS 2 Perform the following steps if you are not running the OS as root a Inthe directory where the package is located type the following command and press Enter sudo dpkg i Package deb You are prompted for the password b Provide the password and press Enter This action installs the driver on the Ubuntu OS Avago Technologies 29 MegaRAID SAS Device Driver Installation User Guide Chapter 5 Ubuntu Linux Driver Installation November 2014 5 2 Removing the Driver in a New Ubuntu Linux LTS OS Removing the Driver in a New Ubuntu Linux LTS OS To remove the device driver in an Ubuntu Linux system perform the following procedure if the Ubuntu Linux OS boots from a device that is not managed by a MegaRAID controller but in which the MegaRAID controller is or will be present on the system and used for managing secondary storage 1 If you are running the OS as root perform the following steps otherwise go to step 2 a Make sure that you are running the OS as root To do so if you are logged in as a standard user type the following command and press Enter sudo su You are prompted for the password b Provide the password and press Enter In the directory where the megaraid_sas d
78. t Avago Technologies 62 STORAGE BY LSI PVaGO TECHNOLOGI S
79. t Driver and the Outdated LSI mpt Driver In this procedure the mpt driver is also excluded so that it is not attached to the MegaRAID controller during the OS installation to primary storage If the mpt driver attaches to the MegaRAID controller any drives attached to the MegaRAID controller will not be found during the OS installation process Because different versions of the FreeBSD OS have different make files drivers build procedures and so on the easiest way to create a custom ISO image for a specific version of the FreeBSD OS is to install the version of the FreeBSD OS that is needed for the ISO image The procedure outlined in this section works for all supported versions of the FreeBSD OS currently versions 8 2 8 3 8 4 9 0 and 9 1 Some steps are different for FreeBSD version 9 0 or later and are noted Avago Technologies 35 MegaRAID SAS Device Driver Installation User Guide Chapter 6 FreeBSD Driver Installation November 2014 Installing the FreeBSD OS on Storage Managed by a MegaRAID Controller Primary Storage Perform the following steps to create the custom ISO image 1 Install the required version of the FreeBSD OS on an available disk that is not attached to a MegaRAID controller During installation you must install all of the system source code You might need a network connection to download the source code that is used to build the ISO image The CD or the DVD that is used to install the OS might alrea
80. t of the vSphere CLI For more details on using this utility refer to the vSphere Command Line Interface Documentation page Using esxcli and an Offline Bundle Async Driver Zip File in an Existing ESXi Installation In this procedure you copy the offline bundle zip file to the ESXi host by using the Datastore Browser and install it by using the esxc1i utility in the ESXi shell NOTE This procedure requires remote ESXi network connectivity using vSphere client Perform the following steps to install the async drivers 1 Extract the contents of the async driver zip file 2 Identify the megaraid_sas zip file Avago Technologies 45 MegaRAID SAS Device Driver Installation User Guide Chapter 7 VMware Driver Installation November 2014 7 2 3 7 2 4 Installing Async Drivers on the VMware ESXi 5 x OS Log in to the ESXi host using vSphere client with administrator privileges such as root Using the Datastore Browser upload the megaraid sas zip file to an ESXi host s datastore Enter the host into Maintenance mode NOTE You can enter host into Maintenance mode through the vSphere Client or by adding the maintenancemode option to the esxcli command Log in as rootto the ESXi console through SSH or iLO DRAC To install drivers using the offline bundle this action requires an absolute path type the following command and press Enter esxcli software vib install d path megaraid_sas zip For example esxcli s
81. tation about the make release command Avago Technologies 36 MegaRAID SAS Device Driver Installation User Guide November 2014 6 5 NOTE NOTE Chapter 6 FreeBSD Driver Installation Installing the Kernel Driver on a FreeBSD OS that Boots from a Device Not Managed by a MegaRAID Controller Secondary Storage The creation of the ISO image is the last step in the make process If the ISO image creation fails make sure the latest usr local bin files and usr local 1ib files are copied into the lt CHROOTDIR gt usr local binand lt CHROOTDIR gt usr 1local 1ib folders If these folders already exist and the files are up to date the next step is to make sure that the cdrtools package was installed successfully If the package was not installed successfully use the sysinsta11 utility or another method to get this package After the cdrtools package is installed make sure again that the usr local bin and usr local 1ib folders are up to date as described previously Then run the make command again but use the rerelease command instead of the release command Using the rerelease command makes sure that the make process starts up from where it failed and not from the start of the make process which could save several hours For FreeBSD OS version 9 0 or later the make release command has been simplified and follows See the Makefile for more information cd
82. the installation guide that came with your controller for the installation instructions You can download the installation guide at http www I si com channel ChannelDownloads Avago Technologies 53 MegaRAID SAS Device Driver Installation User Guide Chapter 9 XenServer Driver Installation November 2014 Installing the XenServer 6 x OS on Storage Managed by a MegaRAID Controller Primary Storage Perform the following steps to install the XenServer 6 0 6 1 or 6 2 OS driver at boot time on storage managed by a MegaRAID controller This procedure contains additional actions for the XenServer 5 5 0 OS and the XenServer 5 6 0 OS in step 20 1 2 Download the ISO image for installing the Citrix Xenserver OS Using the ISO image perform the following steps to make a pen drive as a driver update disk DUD a Copy the iso image b Using the Linux command type the following command in text mode dd if image of target For example dd if megaraid_sas 08 255 02 00 2 6 27 42 0 1 1 xs5 6 0 44 111158 iso of dev sdb 10 11 12 13 14 15 16 17 18 19 Where dev sdb pendrive location Boot the computer from the main installation CD For the DUD installation select F9 from the initial boot screen Accept the End User License Agreement EULA then proceed The installer reads from the boot disk and then loads several screens showing the megaraid_sas driver After you return to the initi
83. the SAS protocol as described in the Serial Attached SCSI Standard version 2 0 and the Serial ATA III SATA III protocol defined by the Serial ATA specification version 3 0 SATA Ill is an extension to SATA 2 0 Avago Technologies MegaRAID SAS Device Driver Installation User Guide Chapter 1 Overview November 2014 1 2 Driver Names The drivers perform these functions m The PCI Express protocol Multiple RAID storage adapters RSAs m The ability to see newly configured logical drives in the configuration software utility without rebooting the system m The random deletion of logical drives that were created by using MegaRAID Storage Manager software refer to the MegaRAID SAS Software User Guide for more information The use of the remaining array capacity by MegaRAID Storage Manager software Driver Updates Because LSI regularly updates device drivers a feature might be added to your driver that is not included in the most recent documentation If you have a question about a feature consult the readme file that accompanies the driver or contact your MegaRAID support representative Be sure to use the latest service packs provided by the OS manufacturer You can download the latest drivers and software on the LSI website at http www lsi com support Pages download search aspx Under the Download tab select your product from the pull down list to display the latest drivers available for download Driver Names T
84. tions 4 Removing an inbox driver Package on Solaris11 Bootable LSI controller See Section 8 7 4 Removing an Inbox Driver Package on the Solaris 11 OS Bootable LSI Controller for the instructions NOTE If the controller is bootable controller do not reboot after you remove the driver package Re install the driver package and then reboot Avago Technologies 49 MegaRAID SAS Device Driver Installation User Guide Chapter 8 Solaris Driver Installation November 2014 8 7 1 8 7 2 Removing the Driver Package Removing an Existing Driver Package Perform the following procedure to remove the driver package 1 2 Become a super user on your system Check to see which MegaRAID driver package is installed on your system by using one ofthe following commands modinfo grep mr _ sas pkginfo 1 grep mrsas If the LSI mrsas package is installed remove the package by using the following command pkgrm mrsas The following messages appear on the console The following package is currently installed mrsas LSI MegaRAID SAS 2 0 HBA driver Do you want to remove this package Press yto remove the mrsas package The following messages appear Removing Installed package instance lt mrsas gt Do you want to continue with the removal of this package y n q Press y to remove the mrsas package Run the following commands to reconfigure while rebooting the machine touch reconfigure reboot
85. uide Chapter 6 FreeBSD Driver Installation November 2014 6 6 1 Updating Drivers in the FreeBSD System Updating the MegaRAID kernel driver module in the FreeBSD OS Updating the Kernel with the New Driver Source Use this procedure to update your kernel from driver source files for both a dynamically loadable module and a statically linked module To obtain the source files see Section 6 2 Obtaining LSI FreeBSD Drivers Perform the following steps to update your kernel with the driver source files 1 Make sure that the kernel source has been installed on the system The kernel sources are in the usr src sys directory Go to the usr src sys dev directory and perform the following steps a Check to see whether a directory with the driver name already exists If a directory already exists move it to a different folder e For example to move the mfi driver type the following command and press Enter mv usr src sys dev mfi root mfi backup e To move the mrsas driver type the following command and press Enter mv usr src sys dev mrsas root mrsas backup Make sure the directory exists e For example to make sure the mfi directory exists type the following command and press Enter mkdir usr src sys dev mfi e To make sure the mrsas directory exists type the following command and press Enter mkdir usr src sys dev mrsas Proceed to the usr src sys modules directory and perform the following steps
86. updated in the Windows New Hardware wizard at boot time or when using Device Manager The driver does not install or work unless the Windows Service Pack 2 or later is installed You can load the driver from the local hard disk a CD or DVD or a network location A USB device might not work even if it appears in My Computer Put the extracted MegaRAID driver files in a usable place and then proceed When a previously installed Windows OS starts for the first time after a MegaRAID controller has been installed for secondary storage the Windows 2003 OS automatically launches the Found New Hardware wizard Avago Technologies 13 MegaRAID SAS Device Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 2 6 Using the Device Manager to Install Secondary Storage with the Windows 2003 OS Perform the following steps Soe ae ee N O 13 At the question Can Windows connect to Windows Update select the answer No not this time Click Next Select Install from a list or specific location Click Next Select Search for the best driver in these locations Click the Include this location in the search check box Uncheck Search removable media Click Browse In the Browse for Folder window locate and click on the previously created folder with the extracted driver files Click OK Click Next Click Install The Update Driver Software wizard displays the message The software f
87. usr src release make release TARGET lt arch gt NOPORTS 1 NODOC 1 6 After you successfully complete the make process all of the new ISO images are located in the lt CHROOTDIR gt R cdrom directory NOTE For FreeBSD OS version 9 0 or later the new ISO images are located in the usr obj usr src release directory Installing the Kernel Driver on a FreeBSD OS that Boots from a Device Not Managed by a MegaRAID Controller Secondary Storage Perform the procedures in this section if the FreeBSD OS boots from a device that is not managed by a MegaRAID controller but in which the MegaRAID controller is or will be present on the system and used for managing secondary storage When you use the virtual drive managed by the MegaRAID controller for secondary storage you do not need to use a driver diskette for driver installation NOTE Your MegaRAID controller might be affected by an issue with the LSI mpt driver in the FreeBSD 8 x and 9 x OSs If the mpt driver issue occurs the system generates soft reset errors and hard reset errors on bootup and the DVD does not install the OS To avoid this issue you must disable the mpt driver before you install or boot your FreeBSD OS until you exclude the mpt driver from the booting kernel It helps to install the FreeBSD OS on the drive attached to the motherboard before you install the MegaRAID controller This step reduces the possibility of installing the FreeBSD OS to the wrong d
88. ut little improvement exists when accessing random data Write Policy Specify the write policy for this virtual drive WBack In Writeback mode the controller sends a data transfer completion signal to the host when the controller cache has received all of the data in a transaction This setting is recommended in Standard mode WThru In Writethrough mode the controller sends a data transfer completion signal to the host when the drive subsystem has received all of the data in a transaction This setting is the default Write Back with BBU Select this mode if you want the controller to use Writeback mode but the controller either has no battery backup unit BBU or the BBU is bad If you do not choose this option the controller firmware automatically switches to Writethrough mode if it detects a bad or missing BBU NOTE You can use Writeback mode with or without a battery You should use either a battery to protect the controller cache or an uninterruptible power supply UPS to protect the entire system If you do not use a battery or a UPS and a power failure occurs you risk losing the data in the controller cache Although you can enable or disable the disk cache you should disable it If you enable the disk cache the drive sends a data transfer completion signal to the controller when the drive cache has received all the data in a transaction However the data has not been actually transferred to the disk media so you risk losing the
89. ve cc eee ear 22 3 1 3 Installing from a Driver Update Diskette c eee eaea 23 3 2 Installing the Red Hat Enterprise Linux 5 x 6 x or 7 x Driver in an Existing Installation lt ceea 23 3 3 Installing or Updating the Red Hat Linux System Driver 0 cece cece cece ne ne eet e eet e eee nent teen eee ee een eneeneeees 24 3 3 1 Installing or Updating the Driver by Using the Generic RPMS 0 0c eee nenea 24 3 3 2 Installing or Updating the Driver by Using the DKMS RPMS cece eee e eee cece e eee eee n eee e eee e eee ee een eneeeeeees 24 3 4 Uninstalling the Red Hat System Driver 0 cece cece nnn ne nnn n ended etn e ene teed eee deen Ebene eee t nen eae 25 Chapter 4 SuSE Linux Enterprise Server SLES Driver Installation cece ccc c ccc cece nec e ence ee nec eeecceeeesceeeeees 26 4 1 Installing the Driver in a New SuSE Linux Enterprise Server System 1 1 0 0 0 cece eee eee 26 4 11 Installing froma CD ora DVD nat vinei scree tata a on a i 0 aaa a a seee ce UNS ta Sew eh eee seated aso 26 4 1 2 Creating a Driver Update Disk DUD with a USB Drive ce eee 26 4 1 3 Installing from a Driver Update Diskette eee 27 4 2 Installing or Updating the SuSE Linux Enterprise Server Driver 0 0 ccc cece eee eee 27 4 2 1 Installing the Driver by Using the Generic RPMS 0 ccc cece eee cee nee eee need een n ene n ete e tenet eee eneneeeeee 27 4 2 2
90. ver in box The type of installation to use depends on how you plan to use your MegaRAID controller If you use the MegaRAID controller as primary storage see Section 2 1 1 Storage Configuration on configuring a virtual disk for the OS in a pre boot environment The Windows installation program recognizes the MegaRAID controller and it automatically installs a driver If you use the MegaRAID controller as secondary storage LSI recommends that you install the OS without the MegaRAID controller shut down the system install the controller and let the OS automatically configure the controller with the in box driver After the Windows Server 2012 OS is running on the machine with the MegaRAID controller an upgrade to the latest LSI MegaRAID driver is recommended The following section describes how to upgrade the driver Upgrading the Driver for the Windows Server 2012 Operating System Perform the following steps to upgrade the driver Download the updated driver from http www lsi com support and put it on a USB CD or DVD Boot the Microsoft Server 2012 OS Click the Server Manager button to start Server Manager if it does not start automatically The button to start Server Manager is the first item on the left of the start bar as shown in the following figure Figure 7 Server Manager Button The Server Manager page appears In Server Manager open the Tools menu and select Computer Management as shown in the following figur
91. vice Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 2 7 2 7 1 Installing a MegaRAID Driver on the Microsoft Windows 8 OS Installing a MegaRAID Driver on the Microsoft Windows 8 OS Microsoft Windows Server 8 includes a MegaRAID driver in box The driver version 5 2 122 0 dated April 3 2012 Consider the following points before you install the driver If you want to use the MegaRAID controller for primary storage see Section 2 1 1 Storage Configuration on configuring a virtual disk for the OS in a pre boot environment The Windows installation program recognizes the MegaRAID controller and it automatically installs a driver m If you want to use the MegaRAID controller as secondary storage install the OS with the MegaRAID controller installed The OS automatically configures the controller with the in box driver m When the Microsoft OS is running on the machine with the MegaRAID controller upgrade to the latest LSI MegaRAID driver Driver Upgrades Perform the following steps to upgrade the Windows 8 driver 1 Download the updated driver and put it on a USB CD or DVD disc 2 Boot the Microsoft Windows 8 OS and then move the mouse to the upper or lower right corner of the screen to expose the desk icons for Search Share Start Devices and Settings shown in the following figure Figure 1 Settings Option p 3 Click Settings 4 On the Settings bar click Control Pane
92. virtual drive definition or click Reclaim to return to the previous settings Click Next after you define the virtual drives The Configuration Preview window appears Check the information in the configuration preview If the virtual drive configuration is acceptable click Accept to save the configuration Otherwise click Back to return to the previous screens and change the configuration If you accept the configuration click Yes at the prompt to save the configuration and initialize the new virtual drive Avago Technologies 11 MegaRAID SAS Device Driver Installation User Guide Chapter 2 Windows Driver Installation November 2014 2 2 2 3 Primary OS Storage on the MegaRAID Controller 21 After the initialization is complete the elapsed time depends on the RAID level and the disk size click the Home button and then click Exit in the left hand window frame 22 Select Exit Application and reboot the computer with the Windows OS in the DVD drive or the CD drive Primary OS Storage on the MegaRAID Controller For the Windows XP 64 bit OS and the Windows 2003 OS the MegaRAID driver is added early in the installation process with a prompt to use the F6 key For the Windows 2003 OS this prompt appears after you select the OS and before the initial Windows Setup window appears For the Windows XP 64 bit OS and the Windows 2003 OS the only disk type supported for introducing an additional driver is a 1 44 MB diskette F
93. ware and Sound Chapter 2 Windows Driver Installation Installing a MegaRAID Driver on the Microsoft Windows 8 OS 10 x gO aei v Control Panel v Hardware and Sound v Control Panel Home System and Security Network and Internet sepia e Hardware and Sound Programs User Accounts Appearance and Personalization Sound oa Require a password when the computer wakes Adjust screen brightness Clock Language and Region Ease of Access Display ome Change default settings for media or devices Adjust system volume Power Options Change battery settings Make text and other items larger or smaller Connect to a projector Dell Touchpad x Search Control Panel a a Devices and Printers Add a device Add a printer Adda Bluetooth device Mouse Device Manager Play CDs or other media automatically Change system sounds Manage audio devices Change what the power buttons do Change when the computer sleeps Adjust screen resolution Connect to an external display Windows Mobility Center Adjust commonly used mobility settings Adjust settings before giving a presentation IDT Audio Control Panel El 7 Inthe Device Manager expand the sub menu under Storage Controllers and right click Update Driver Software as shown in the following figure You can find the version of the existing driver by right clicking Properties and selecting the Driver tab Figure 5 Update Driver Softwar
94. wing steps 1 Get the latest driver source files for your version of the FreeBSD OS See Section 6 2 Obtaining LSI FreeBSD Drivers Start the installation process As the DVD loads you are offered boot options Select Escape to prompt option 6 in the FreeBSD 8 x OS and option 2 in the FreeBSD 9 x OS To disable the mpt driver for the installation type the following commands at the prompt and press Enter set hint mpt 0 disable 1 set hint mpt 1 disable 1 boot Proceed with the installation on a drive attached to the motherboard Make sure you install the full the FreeBSD OS source After the OS installation follow the instructions for driver installation in Section 6 5 2 Installing the FreeBSD OS on a System that Includes an LSI Controller before the OS Installation for a statically linked module or in Section 6 6 2 Compiling and Loading the Driver as a Module by Using kldload Dynamically Loadable Module Updating Drivers in the FreeBSD System You can update drivers either from source files or with driver modules By using source files you can compile drivers into the kernel or you can create modules for versions of the FreeBSD OS for which LSI does not supply modules This section includes these topics Updating the kernel with the new driver source Compiling and loading the driver as a module using k1dload dynamically loadable module Avago Technologies 38 MegaRAID SAS Device Driver Installation User G
95. wing steps to install or update to the latest version of the MegaSAS driver 1 Boot the system 2 Go to Console your terminal GUI 3 Install the Dynamic Kernel Module Support DKMS driver RPM Uninstall the earlier version first if needed 4 Install the MegaSAS driver RPM Uninstall the earlier version first if needed 5 Reboot the system to load the driver Avago Technologies 55 MegaRAID SAS Device Driver Installation User Guide Chapter 10 Debian Driver Installation November 2014 Installing the MegaRAID 92xx Driver on Storage Managed by a MegaRAID Controller Chapter 10 Debian Driver Installation This chapter describes how to install the device driver in Debian 6 0 and Debian 7 0 x64 operating systems 10 1 Installing the MegaRAID 92xx Driver on Storage Managed by a MegaRAID Controller Perform the following steps to install the LSI MegaRAID 92xx driver while you install the Debian Squeeze 6 0 64 bit OS 1 Copy the drivers megaraid 6 18 deb6 2 6 32 tgz toa USB flash 2 Boot from the Debian installation CD1 and select Install 3 Press Ctrl Alt F2 to switch to console2 when the language screen appears NOTE The system should detect the USB flash as scsi device dev sdal To check for SCSI devices type the following command dmesg grep sd 4 Type the following commands and then press Enter mkdir mnt2 lsi mount t vfat dev sdal mnt2 cp mnt2 megaraid 6 18 deb6 2 6 32 tgz lsi cd lsi tar zxvf m

Download Pdf Manuals

image

Related Search

Related Contents

Medidores de aislamiento, continuidad y tierras en alta tensión 96  Star Micronics Delta Printer User Manual  Kingston Technology ValueRAM 8GB DDR3-1600MHz ECC  My Samsung Galaxy S®5 for Seniors  SAFETY/INFORMATION  Bajar Convocatoria - Coordinación General de Educación  Rêver le réel  Quick Start Guide  Land Pride BB05 User's Manual  CentreCOM AR570S 取扱説明書  

Copyright © All rights reserved.
Failed to retrieve file