This issue is resolved in VMware ESXi 7.0 P03 GA
Workaround:
If you encountered this issue, unfortunately, there is no option from a VMWare perspective to recover any lost data on this volume. You will need to restore your data from backups.
To avoid encountering this issue, ensure all the systems have scratch configured to a unique subdirectory if you decide to use a datastore file location, see
Creating a persistent scratch location for ESXi 7.x/6.x/5.x/4. This policy should be checked prior to upgrading and should continue beyond upgrading as this is best practices regardless of this issue. The directory is recommended to have the ESXi host name or other host identifier so it is unique to that host and identifiable.
To set scratch:
- Click on Advanced System settings of host in the vCenter Server.
- Click on Edit.
- Change the ScratchConfig.ConfiguredScratchLocation configuration option and set it to the full path of the directory including the unique sub folder:
For Example:
/vmfs/volumes/DatastoreName/.locker-ESXi-hostname
Note: Reboot is required to apply the change.