govc disk.rm command fails with the following error: Error: The operation is not allowed in the current statevpxd.log confirms the API fault due to an active attachment: error vpxd[...] Disk with ID = #### is attached vim.vslm.vcenter.VStorageObjectManager.deleteVStorageObject: :vim.fault.InvalidStateThe deletion command fails because the First Class Disk (FCD) is actively mounted to a Rancher worker node in the vCenter inventory. The vCenter VStorageObjectManager explicitly locks storage objects from manual deletion while an active attachment state exists to prevent data corruption, despite the volume being orphaned and untracked by the CNS database.
govc disk.detach -vm <worker-node-vm-name> ####govc disk.rm -k -dc=<dc> -ds=<ds> ####