Visit VMARENA.COM For More Advanced Technical Posts , Learn More .

Sunday, January 21, 2018

Mark /Emulate an HDD as SSD in ESXi

Identify the storage device in which you wish to mark as an SSD . Use the following ESXCLI command 
esxcli storage core device list
Above image shows device mpx.vmhba1.C0:T2:L0 shows "Is SSD" parameter as false. 
We can change the mpx.vmhba1.C0:T2:L0 device to SDD  by applying below commands 
esxcli storage nmp satp rule add -s VMW_SATP_LOCAL -d mpx.vmhba1:C0:T2:L0 -o enable_ssd
esxcli storage core claiming reclaim -d mpx.vmhba1:C0:T2:L0
If you want to perform the opposite, add the disable_ssd option. If you receive an error regarding a duplicate rule, you will need to first remove the SATP rule and then re-create with the appropriate option.
esxcli storage nmp satp rule add -s VMW_SATP_LOCAL -d mpx.vmhba1:C0:T1:L0 -o disable_ssd
esxcli storage core claiming reclaim -d mpx.vmhba1:C0:T1:L0
Note :- If you are running Nested Virtualization and the virtual disk of that VM is stored on an actual SSD, that virtual disk will automatically show as SSD  .

No comments:

Post a Comment