Expand HP ESXi host RAID 10 volume with new disks

I have a HP ML350 Gen9 with an HP ESXi 6.0 image installed
Configuration is 4 300GB 15k SAS drives in RAID 10
I will be adding 2 additional disks to existing RAID10 array and expanding the array

Current Configuration

  1. Enable SSH on ESXi host
  2. Connect to host via SSH
  3. Ensure everything is in healthy state before starting
    1. /opt/hp/hpssacli/bin/hpssacli ctrl all show config
    2. /opt/hp/hpssacli/bin/hpssacli ctrl all show status
  4. Add the new drives into the server
  5. Rescan for new devices
    1. /opt/hp/hpssacli/bin/hpssacli rescan
  6. Note the ports of the new drives by running the show config cmd
    1. /opt/hp/hpssacli/bin/hpssacli ctrl all show config
    2. port 2I:1:5
    3. port 2I:1:6


  1. Find which slot and Id we will be adding disks to
    1. /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 1 show
  2. Add new physical drives to existing array
    1. /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 1 add drives=2I:1:5,2I:1:6
    2. drives will come online, and you will hear additional drive activity



  1. View progress of restriping data to new drives
    1. /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 1 show
    2. Wait for “Status Transforming” to complete
    3. Took about 5 hours to complete


  1. Expand array
    1. /opt/hp/hpssacli/bin/hpssacli controller slot=0 logicaldrive 1 modify size=max
    2. if you get the error “Warning: The command was not executed. Under this environment you must use the “forced” flag to complete the operation.” add forced at the end of the command
    3. /opt/hp/hpssacli/bin/hpssacli controller slot=0 logicaldrive 1 modify size=max forced
  2. View status of expand
    1. /opt/hp/hpssacli/bin/hpssacli ctrl all show status
  3. Rescan Storage adapter
    1. vSphere Client
    2. Configuration Tab
    3. Storage Adapter
    4. Rescan
  4. Expand VMFS Datastore in ESXi
    1. Connect to host via vsphere client
    2. Select host and click Configuration Tab
    3. Click Storage
    4. Right Click on datastore and click properties
    5. Click Increase
    6. Select a device from the list of storage devices for which the Expandable column is Yes and click Next
    7. Set the capacity for the extent. The default capacity for the extent is the entire free space on the storage device.
    8. Click Next
    9. After the process completes, click rescan on the datastore
  5. Done

7 thoughts on “Expand HP ESXi host RAID 10 volume with new disks”

  1. Hi Brad, When you did this entire process. Did you shutdown the VM that running on this machine FIRST before doing the expansion? Read you can keep the VM running while the disk expands but wonder how you did it.


    1. I did this while everything was running in production. Not really recommended, but it was a small customer. Make sure you have good backups first, and keep in mind it may impact performance while you are expanding the array.


  2. can you do this for RAID 5? I have HPE dl580 gen9 with esxi 6.5 update 1

    i have found the similar commands for display but am curious if we can extend Raid 5 arrays w/o having to rebuild the host


    1. I don’t see why not. It will impact performance more extending a RAID 5 array vs a RAID 10 array so be mindful of that. Make sure you have good backups first that you can restore from as always when working with array changes.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s