VMware creates memory vVols for two reasons:
VM suspension
When a VMware administrator suspends a VM, VMware stores its memory state in a memory vVol. When the VM resumes, its memory state is restored from the memory vVol, which is then deleted.
VM snapshots
When a VMware management tool creates a snapshot of a vVol-based VM with the “store memory state” option, VMware creates a memory vVol. Memory vVols that contain VM snapshots are deleted when the snapshots are deleted. They are described in the section titled Web Guide: Implementing vSphere Virtual Volumes with FlashArray.
To suspend a running VM, right-click its entry in the Web Client inventory pane, select Power from the dropdown menu, and Suspend from the secondary dropdown.
|
vCenter UI View - Command to Suspend the VM
|
VMware halts the VM’s processes, creates a memory vVol and a vmss file to reference it, de-stages (writes) the VM’s memory contents to the memory vVol, and directs the array to destroy and eradicate its swap vVol.
|
FlashArray UI View - Memory vVol in the VM Volume Group
|
|
vCenter UI View - vVol DS Browser - Memory vVol File
|
When the VM’s memory has been written, the ESXi host unbinds its vVols. They are bound again when it is powered on.
To resume a suspended VM, right-click it in the Web Client inventory pane, select Power from the dropdown menu, and Power On from the secondary dropdown.
|
vCenter UI View - Powering on the Suspended VM
|
Powering on a suspended VM binds its vVols, including its memory vVol, to the ESXi host, and loads its memory state is from the memory vVol. Once loading is complete, VMware unbinds the memory vVol and destroys the volume and the VASA provider will automatically eradicate it on the FlashArray.
|
FlashArray UI View - Eradicated Memory vVol
|