This example is being performed on a Dell R630 with the Perc RAID controller running ESXi 6. I didn’t do anything special with the Flash disk in the RAID controller, I simply created a RAID 0 volume group with the single drive.
A lot of the inspiration for this fix is from this Yellow Bricks post.
Once the Host has ESXi installed, network configured, booted up, added to vCenter (and all the extra gubbins done), you will first need to mark the disk as a Flash disk …… ESXi won’t pick this up automatically.
Manage > Storage > Storage Devices > Highlight disk and click the F button to mark as Flash.
Now right-click the ESXi host > Storage > Add Virtual Flash Resource Capacity.
At this point I ran into a problem. As far as I can see you should simply be able to add the Flash drive as Virtual Flash Resource Capacity, however, by default it was greyed out and isn’t selectable……
…… and it only becomes selectable if you click the “Enable remote flash selection” tickbox.
When you click OK, vCenter tells you it has completed, however, there are no Flash Datastores available for use and I was getting the following error under the ESXi Host > Monitor > Events:-
Configuration on disk /vmfs/devices/disks/naa.614187704de041001e622fd406f5f19e failed. Reason : A specified parameter was not correct: naa.614187704de041001e622fd406f5f19e
This fix for this is to tag the disk from esxcli, so next SSH into your Host and run
1 |
esxcli storage vflash device list |
You will see that ESXi has detected this disk as a remote SAS SSD.
If you try and add the disk as local (as per the comments in the Yellow Bricks post) you will get the following error:-
1 |
esxcli storage nmp satp rule add -s VMW_SATP_LOCAL -d naa.614187704de041001e622fd406f5f19e -o enable_local |
Error adding SATP user rule: Duplicate user rule found for SATP VMW_SATP_LOCAL matching device naa.614187704de041001e622fd406f5f19e PSP and PSP Options
So to resolve this you will need to remove the rules, readd them correctly, run reclaim and then (back in the Web Client) retag as flash.
1 2 3 |
esxcli storage nmp satp rule remove -s VMW_SATP_LOCAL -d naa.614187704de041001e622fd406f5f19e esxcli storage nmp satp rule add -s VMW_SATP_LOCAL -d naa.614187704de041001e622fd406f5f19e -o enable_local esxcli storage core claiming reclaim -d naa.614187704de041001e622fd406f5f19e |
Once this is done you should be able to add flash correctly.