As most features these days in vSphere you can configure them using the awesome esxcli command. I’ve already mentioned esxcli in my vSphere Flash Read Cache FAQ blog but I wanted to call it out explicitly here as I found it very useful. You can get some nice details using the esxcli command. So where do we start?
First thing would be:
esxcli storage vflash
This will return that there are 3 namespaces: cache, module and device. Lets start top down with device. The command “esxcli storage vflash device list” will show you a list of all flash devices and whether it has been configured for vFRC or not. The module namespace can provide you some more details around for instance cache blocksizes etc. If you run the command this is what the output looks like:
~ # esxcli storage vflash module get Min Supported Module Version: 126.96.36.199 Revision: 188.8.131.52 Supported Cache Block Size Max: 1048576 Supported Cache Block Size Min: 4096 Supported Cache Size Max: 214748364800 Supported Cache Size Min: 4194304 Supported Disk Size Max: 17592186044416 Supported Mode Mask: WriteThru