Tuesday, June 18, 2013

vSphere 5: Faking a local SSD

Master Link:
http://www.yellow-bricks.com/2013/01/11/faking-an-ssd-in-your-virtualized-vsphere-lab/

The page rendering (at least for me) chops off the full command:
# esxcli storage nmp satp rule add --satp VMW_SATP_LOCAL \
       --device mpx.vmhba2:C0:T0:L0 \
       --option "enable_local enable_ssd"
# esxcli storage core claiming reclaim -d mpx.vmhba2:C0:T0:L0
You need to apply the enable_ssd and enable_local option at the same time.  If you try to add another option later, you'll get the error described in kb 2013188
If you receive an error when adding a new rule stating that there was a duplicate rule found, you may need to remove the rule and add it again with the correct SSD flag.
Error adding SATP user rule: Duplicate user rule found for SATP VMW_SATP_LOCAL matching [device] PSP and PSP Options
To fix, remove the existing rule:
# esxcli storage nmp satp rule remove \
       --satp VMW_SATP_LOCAL \
       --device mpx.vmhba2:C0:T0:L0
To verify the devices:
esxcli storage core device list

No comments: