You can aggregate local flash devices on an ESXi host into a single virtualized caching layer called virtual flash resource. When you set up the virtual flash resource, you create a new file system, Virtual Flash File System (VFFS). VFFS is a derivative of VMFS, which is optimized for flash devices and is used to group the physical flash devices into a single caching resource pool. As a non-persistent resource, it cannot be used to store virtual machines.
After you set up the virtual flash resource, you can use it for I/O caching filters. See Filtering Virtual Machine I/O in vSphere.
Considerations for Virtual Flash Resource
When you configure a virtual flash resource, several considerations apply.
- You can have only one virtual flash resource on a single ESXi host. The virtual flash resource is managed at the host's level.
- You cannot use the virtual flash resource to store virtual machines. Virtual flash resource is a caching layer only.
- You can use only local flash devices for the virtual flash resource.
- You can create the virtual flash resource from mixed flash devices. All device types are treated equally and no distinction is made between SAS, SATA, or PCI express connectivity. When creating the resource from mixed flash devices, make sure to group similar performing devices together to maximize performance.
- You cannot use the same flash devices for the virtual flash resource and vSAN. Each requires its own exclusive and dedicated flash device.
Set Up Virtual Flash Resource
You can set up a virtual flash resource or add capacity to existing virtual flash resource.
Procedure
Results
What to do next
Use the virtual flash resource for I/O caching filters developed through vSphere APIs for I/O Filtering. See Using Cache I/O Filters with Flash Storage Devices on ESXi Hosts.
You can increase the capacity by adding more flash devices to the virtual flash resource.
Remove Virtual Flash Resource
You might need to remove a virtual flash resource deployed on local flash devices connected to the ESXi host. Removing the virtual flash resource frees the devices for other services.
Prerequisites
- Verify that the virtual flash resource is not used for I/O filters.
Procedure
- In the vSphere Client, navigate to the ESXi host.
- Click the Configure tab.
- Under Virtual Flash, click Virtual Flash Resource Management and click Remove All.
Results
Set Alarm for Virtual Flash Use
Set an alarm to indicate when the use of a virtual flash resource on your ESXi host exceeds specified threshold.
Procedure
- In the vSphere Client, navigate to the ESXi host.
- Click the Configure tab.
- Under System, click Advanced System Settings.
- Select the setting to change and click the Edit button.
Parameter Description VFLASH.ResourceUsageThreshold The system triggers the Host vFlash resource usage alarm when a virtual flash resource use exceeds the threshold. The default threshold is 80%. You can change the threshold to an appropriate value. The alarm is cleared when the virtual flash resource use drops below the threshold. - Click OK.