VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
To increase disk capacity while maintaining a non-persistent setup, create a new master image with the required disk size.
Do not change the mode of the virtual disk оn a running virtual machine, see ESXi 8.0 Update 1c release note
Editing the disk mode of a running virtual machine using the VMware Host Client, for example from Independent - Nonpersistent to Dependent or Independent - Persistent, causes the operation to fail and may result in the VM failure. Errors such as the following can be seen in the vmware.log:msg.disk.notConfigured2] Failed to configure disk 'scsi0:4'. The virtual machine cannot be powered on with an unconfigured disk.[msg.checkpoint.continuesync.error] An operation required the virtual machine to quiesce and the virtual machine was unable to continue running.
This issue is resolved in ESXi 8.0 Update 1c. The fix blocks changing the mode of an Independent - Nonpersistent disk on a running virtual machine by using the VMware Host Client. The vSphere Client already blocks such operations.