VMware Cloud Community
wreedMH
Hot Shot
Hot Shot
Jump to solution

Unable to remove DVS switch from host. Ghosted View Replica VM still connected to portgroup

I am trying to remove the DVS switch from a host to prepare it to be re-purposed and rebuilt. When attempting to remove the DVS from the host I get the below error. We are running 6.5 U1.


Any ideas?

The resource '5274' is in use.

vDS vsan-p1b2-netdvs port 5274 is still on host jdc-vsan-p1b2-n04.tellex.org connected to <not-found.> nic=4000 type=vmVnic

1 Solution

Accepted Solutions
wreedMH
Hot Shot
Hot Shot
Jump to solution

Was able to remove the host, by first right clicking and select Disconnect, then Remove from Inventory.

View solution in original post

5 Replies
hussainbte
Expert
Expert
Jump to solution

Check the below link and remove if any hosts vmknic is added to the DVS.

Unable to Remove a Host from a vSphere Distributed Switch

If you found my answers useful please consider marking them as Correct OR Helpful Regards, Hussain https://virtualcubes.wordpress.com/
Reply
0 Kudos
wreedMH
Hot Shot
Hot Shot
Jump to solution

That article does me no good as there are no VMs or VMKernel ports connected to it to remove.

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

Not sure whather this helps, but maybe worth a try.

KB article https://kb.vmware.com/s/article/2118050​ describes how to cleanup stale View objects.

The ViewDbCheck tool did help me a lot in the past. Try running e.g. ViewDbChk --scanMachines --limit 100

André

Reply
0 Kudos
wreedMH
Hot Shot
Hot Shot
Jump to solution

I do not have access to the View servers and this host has already been disassociated from anything View from the View administrators perspective.

Reply
0 Kudos
wreedMH
Hot Shot
Hot Shot
Jump to solution

Was able to remove the host, by first right clicking and select Disconnect, then Remove from Inventory.