Search the VMware Knowledge Base (KB)
View by Article ID

Recommended settings for RAID0 logical volumes on certain 6G LSI based RAID vSAN (2111266)

  • 4 Ratings
Language Editions

Purpose

This article outlines recommendations for creating RAID0 logical volumes on vSAN compatible controllers.

VMware recommends specific settings when creating RAID0 logical volumes on these controllers:
  • MegaRAID SAS 9271-8i
  • UCS-RAID9271CV-8I
  • MegaRAID SAS 9265-8i
  • MegaRAID SAS 9266-8i
  • MegaRAID SAS 9267-8i
  • MegaRAID SAS 9266-4i
  • MegaRAID SAS 9270-8i
  • MegaRAID SAS 9272-8i
  • MegaRAID SAS 9270CV-8i
  • MegaRAID SAS 9271-8iCC
  • MegaRAID SAS 9271-4i
  • SMC2208
  • PERC H710 mini Adapter
  • PERC H710P Adapter
  • PERC H710 Adapter
  • Fujitsu SAS RAID HDD Module (D2816C )
  • Fujitsu SAS RAID HDD Module (D2816)
  • Fujitsu RAID Ctrl SAS 6G 1GB (D3116C)
  • Fujitsu RAID Ctrl SAS 6G 1GB (D3116)
  • IBM ServeRAID M5115 SAS/SATA Controller for IBM Flex System (90Y4390)
  • IBM ServeRAID M5110e SAS/SATA Controller for IBM System x (90Y4343CTO)
  • IBM ServeRAID M5110 SAS/SATA Controller for IBM System x (81Y4481)
Note: This list is not exhaustive. This article is linked from the relevant controllers' vCG listings.

Resolution

Recommended RAID0 configuration settings:

VMware recommends the following settings:

Device Configuration Setting
HDD Read Ahead
Write Through
Direct (Disable disk write cache)
SSD No Read Ahead
Write Through
Direct (Disable disk write cache)

Note: To configure the recommended options, you may use a CLI command from the corresponding controller vendor, such as storcli for LSI controllers and perccli for the Dell H710 controller.

Creating the RAID0 volumes and configuring the recommended settings:

Create the RAID0 volumes with the preceding configuration settings using these steps. These are instructions on how to apply the recommended settings using the LSI storcli CLI utilities. For Dell controllers, substitute perccli for storcli.

Note: The working directory for all the commands listed in this procedure is /opt/lsi/storcli. Therefore, execute the command cd /opt/lsi/storcli on the ESX host before performing step 1.

  1. Determine the adapter number of the HBA on which the logical drive needs to be created. (For this step, assume that we are using a LSI 9271 HBA):
    1. Run this command:

      ./storcli /call show

    2. In the output, look for similar entries as shown in this sample output:

      Generating detailed summary of the adapter, it may take a while to complete.

      Controller = 0    <---------------This gives us the controller number
      Status = Success
      Description = None

      Product Name = LSI MegaRAID SAS 9271-8i
      Serial Number = SV40318544
      SAS Address =  500605b0075888c0
      PCI Address = 00:03:00:00
      System Time = 03/18/2015 21:30:06

      From the sample output, we see that the LSI 9271 is controller 0. This is the value being referred to when using the controller_number in the commands in succeeding steps.

  2. Determine the enclosure id and the slot number of the disks that the HBA is connected to:
    1. Run this command:

      ./storcli /call show

    2. In the output, look for the PD List table as shown in this sample output:

      PD LIST :
      =======
      ----------------------------------------------------------------------------
      EID:Slt DID State DG       Size Intf Med SED PI SeSz Model               Sp
      ----------------------------------------------------------------------------
      252:0     9 UGood -   465.25 GB SAS  HDD N   N  512B ST9500620SS         D
      252:1    18 Onln  1  185.781 GB SATA SSD N   N  512B INTEL SSDSC2BA200G3 U
      252:2    15 Onln  2  418.656 GB SAS  HDD N   Y  512B HUC106045CSS600     U
      ...


    The first column lists the physical drives in the format enclosure_id:slot_number . This provides the enclosure_id and slot_number you will use in the next steps.


  3. Decide the physical drive to use to create the logical volume on:
    1. Refer to the PD List table generated in Step 2.

      Any drive whose State is UGood is available for creating a logical volume. Drives with State="Onln" are already in use by logical volumes and unavailable.
    2. Select the drive with State = UGood that you will use. The slot_number of that drive is what you will use in step 4.

  4. Create the logical volume with the appropriate configuration:
    • If it is a HDD, run this command:

      ./storcli /ccontroller_number add vd type=raid0 name=virtual_drive_name drive=enclosure_id:slot_number ra wt direct strip=256


      Example:

      Command using the drive in the PD LIST output:

      ./storcli /c0 add vd type=raid0 name=HDD-S0 drive=252:0 ra wt direct strip=256

    • If it is an SSD, run this command:

      ./storcli /ccontroller_number add vd type=raid0 name=virtual_drive_name drive=enclosure_id:slot_number nora wt direct strip=256


      Example:

      Command using the drive in our PD LIST output: (assuming it is a SSD):

      ./storcli /c0 add vd type=raid0 name=HDD-S0 drive=252:0 nora wt direct strip=256

  5. Verifying that the virtual drive is created correctly:

    1. Run this command ./storcli /ccontroller_number show

      For example:./storcli /c0 show
    2. Refer to the VD LIST table in this output:

      VD LIST :
      =======
      ------------------------------------------------------------------
      DG/VD TYPE  State Access Consist Cache sCC       Size Name
      ------------------------------------------------------------------
      1/1   RAID0 Optl  RW     Yes     NRWTD -   185.781 GB SSD-S2
      2/2   RAID0 Optl  RW     Yes     RWTD  -   418.656 GB HDD-S3
      3/3   RAID0 Optl  RW     Yes     RWTD  -   418.656 GB HDD-S4
      4/4   RAID0 Optl  RW     Yes     RWTD  -   418.656 GB HDD-S5
      5/5   RAID0 Optl  RW     Yes     RWTD  -   418.656 GB HDD-S6
      ------------------------------------------------------------------
    3. Check the line with the virtual disk (VD) name that you created:
      1. If the physical drive was an HDD, then it should have these parameters:

        RAID0 Optl  RW     Yes     RWTD

        The RWTD, indicates the cache policy and stands for Read ahead, Write Through, Direct.
      2. If the physical drive was an SSD, then it should have these parameters:

        RAID0 Optl  RW     Yes     NRWTD

        The NRWTD, indicates the cache policy and stands for No Read ahead, Write Through, Direct.

Additional Information

For more information about supported devices, see the VMware Virtual SAN Compatibility Guide.

For the latest version of StorCLI, do a keyword search for "megaraid storcli" at Avago Support Documents and Downloads.
 
Disclaimer: VMware is not responsible for the reliability of any data, opinions, advice, or statements made on third-party websites. Inclusion of such links does not imply that VMware endorses, recommends, or accepts any responsibility for the content of such sites.

Tags

esxi raid0

See Also

Update History

09/19/2016 - Added VSAN 6.1, 6.2. Added a link to the VCG and Avago Support Downloads.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 4 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 4 Ratings
Actions
KB: