I recently had a drive fail in my RAID array on one of my home servers, a HP Proliant DL360 G6. The failed drive was a 300GB SAS drive. I did not have a spare available, and needed the server back up ASAP. I had a 500GB SSD that I was not using at the time, and I decided to use that to substitute until I could get a proper replacement shipped.

Getting the replacement drive installed was easy enough. I didn’t have any caddies, so I removed the 4 screws that held the “imminent failure” SAS drive in place, and replaced the drive with the new 500GB SSD. Since the 500GB drive was not going to be part of an array, I just had to create a couple of single drive arrays in the SAS controller’s interface. Once I booted up the host with the array’s created, I did have to do some finagling with esxi via the shell to get it to recognize the drives. The problem for me was that both drives had been formatted before, one was part of a RAID array, and the SSD I had just formatted to EXT4 before installation. The fix for these couple issues is outside of the scope of this article, but I will be writing another post related to this topic soon.

Once I had the server fully booted up, I headed over to the vSphere Client and formatted the drive as VMFS. I then noticed that the drive was being detected as NON-SSD. The following commands are from vmware.com, and they will “force” a drive to be detected as SSD:

*Note – Don’t forget to enable SSH access using the vSphere Client.

From the output of the esxcli storage nmp device list command, you will want to select the relevant identifier for your drive, mine being naa.600508b1001cb649fd5fd2520660ad0c .

    A couple of notes

  • My Storage Array Type is VMW_SATP_LOCAL, yours may be VMW_SATP_CX, or something completely different, be sure to alter the command to match your storage array type
  • If you have the SSD drives in the RAID 1 setup, and the RAID controller you are using does not support NON-RAID mode or Pass-Through Mode, then you must re-configure your SSD drives in a RAID 0 setup.

After gathering your drive identifier and storage array type, run this command:

esxcli storage nmp satp rule add –satp=SATP_TYPE –device naa.6006016015301d00167ce6e2ddb3de11 –option “enable_ssd”

Put the host into maintenance mode and reboot, after it’s back up, you should be able to access the SSD features of the drive.

– Learn How to Enable the SSD option on a drive that is not detected as SSD in ESXi

Skip to toolbar