wreedMH
Hot Shot
Hot Shot

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

Jump to solution

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

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

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/
0 Kudos
wreedMH
Hot Shot
Hot Shot

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

0 Kudos
a_p_
Leadership
Leadership

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é

0 Kudos
wreedMH
Hot Shot
Hot Shot

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

0 Kudos
wreedMH
Hot Shot
Hot Shot

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

View solution in original post