How to configure SSD in ESXi 6.5


Symptom

With internal SSDs configured as RAID, ESXi 6.5 U1 treats as HDD, not as SSD...

[root@localhost:/vmfs/volumes] esxcli storage nmp device list
naa.60030057023a36a01ef6a8bd2e3c7c26
   Device Display Name: Local FTS Disk (naa.60030057023a36a01ef6a8bd2e3c7c26)
   Storage Array Type: VMW_SATP_LOCAL
   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device configuration.
   Path Selection Policy: VMW_PSP_FIXED
   Path Selection Policy Device Config: {preferred=vmhba2:C2:T0:L0;current=vmhba2:C2:T0:L0}
   Path Selection Policy Device Custom Config: 
   Working Paths: vmhba2:C2:T0:L0
   Is USB: false

mpx.vmhba1:C0:T4:L0
   Device Display Name: Local TSSTcorp CD-ROM (mpx.vmhba1:C0:T4:L0)
   Storage Array Type: VMW_SATP_LOCAL
   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device configuration.
   Path Selection Policy: VMW_PSP_FIXED
   Path Selection Policy Device Config: {preferred=vmhba1:C0:T4:L0;current=vmhba1:C0:T4:L0}
   Path Selection Policy Device Custom Config: 
   Working Paths: vmhba1:C0:T4:L0
   Is USB: false

naa.60030057023a36a021d6f2c21a392021
   Device Display Name: Local FTS Disk (naa.60030057023a36a021d6f2c21a392021)
   Storage Array Type: VMW_SATP_LOCAL
   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device configuration.
   Path Selection Policy: VMW_PSP_FIXED
   Path Selection Policy Device Config: {preferred=vmhba2:C2:T1:L0;current=vmhba2:C2:T1:L0}
   Path Selection Policy Device Custom Config: 
   Working Paths: vmhba2:C2:T1:L0
   Is USB: false

How to fix

[root@localhost:/vmfs/volumes] esxcli storage nmp satp rule add -s VMW_SATP_LOCAL --device naa.60030057023a36a021d6f2c21a392021  --option=enable_ssd

cf.

[root@localhost:/vmfs/volumes]esxcli storage nmp satp rule remove -s VMW_SATP_LOCAL --device naa.60030057023a36a021d6f2c21a392021

[root@localhost:/vmfs/volumes] esxcli storage core claiming unclaim --type device --device naa.60030057023a36a021d6f2c21a392021 

[root@localhost:/vmfs/volumes] esxcli storage core claimrule load

[root@localhost:/vmfs/volumes] esxcli storage core claimrule run