Symptoms:
VMware vSphere ESXi 8.0.x
VMware vSphere ESXi 7.0.x
A locking mechanism ensures that no two virtual machines (VM) can access the same disk and perform I/O at same time. This mechanism prevents hard disks from being removed from a powered on VM.
Removing an RDM from a powered on running VM is dependent on the Guest OS. Refer to the OS vendor for guidance on performing hot add/remove of an RDM.