Vmware Host returns esxupdate error code:15 – Check update manager log

I tried to update a VMware host through update manager and I got the below error through stage and remediation.

VMware indicates that:

This issue occurs if the /locker/ folder contains too many files aside from the /locker/packages (or /store/packages) folder. Remediation cannot happen as the disk does not have enough space.

/locker partition is the local Datastore of the host and in my case did not contain a lot of data except from the directory of packages.

The solution for this error was to remediate less updates and not all of them once. For example I could remediate 28 patches, but I performed that in two waves 14 on each iteration.

https://kb.vmware.com/s/article/2030665

Remove Windows recovery partition to extend drive

There is a common issue on Windows to have a disk blocked from Windows recovery partition. In that way, if you extend the physical disk (virtual environments) you cannot extend from Operating system side.

Windows Recovery partition blocking C:\ to be extended

A recovery partition is a partition on the disk that helps to restore the factory settings of the OS (operating system) if there is some kind of system failure. This partition has no drive letter, and you can use only Help in Disk Management. In my case I did not need this partition and I was able to delete it with the below steps:

select disk 0 select volume 3 (3 was the id of my recovery partition)
select recovery partition in order to delete from diskpart

After those steps you will be able to extend your disk.