VMware Cloud Community
szafa
Enthusiast
Enthusiast

remove and recreate a vSAN disk group issue

Hi All

Cache disk failed and was replaced with new one, web client still show that disk as absent. KB2150567(VMware Knowledge Base) recommend to remove old broke disk group but when I try to get UUID (esxcli vsan storage list) it is empty value. How I can remove that disk group and create new one?

Thanks

0 Kudos
5 Replies
Nawals
Expert
Expert

Physically remove the device before you remove it from vSAN? If not follow the proper steps will give this problem.

Follow below articles for removing disk groups and recreate.

https://www.virtualizationhowto.com/2018/11/replacing-vmware-vsan-cache-disk-and-resyncing-vsan-obje...

VMware Knowledge Base

http://www.vmwarearena.com/remove-capacity-disk-from-vsan-disk-group/

http://www.vmwarearena.com/create-all-flash-vsan-disk-group/

NKS Please Mark Helpful/correct if my answer resolve your query.
0 Kudos
TheBobkin
Champion
Champion

Hello szafa​,

As the cache-tier device was replaced, the original Disk-Group is gone - did you remove the vSAN partitions on the Capacity-tier devices from that Disk-Group?

Can you share the output of the following:

# vdq -Hi

and

# vdq -q

and

# esxcli vsan debug disk list

Nawals, none of what you said is going to help with OPs issue, please more carefully read what they said.

You also referenced a kb article that they already referenced and thus are clearly aware of.

Bob

0 Kudos
szafa
Enthusiast
Enthusiast

Hi TheBobkin​, didn't touch yet any capacity disk on that problematic Disk-Group as I'm not sure how to recreate it after cache replacement.

Please check URL to see out put of requested commands =>  https://justpaste.it/5lqpx

Thanks for your help.

0 Kudos
TheBobkin
Champion
Champion

Hello szafa​,

52a4a24c-6776-c97e-e15b-dc7ebf79c701 is the reference to the Cache-tier device that was removed.

Please validate that data in the cluster is healthy (Cluster > Monitor > vSAN > Health > Data).

If all is good on that front then proceed with removing the reference to the old Disk-Group - this *should* also remove all remaining partitions on the Capacity-tier devices:

# esxcli vsan storage remove -u 52a4a24c-6776-c97e-e15b-dc7ebf79c701 -m noAction

Then create the new Disk-Group via Cluster > Configure > vSAN > Disk Management .

Bob

0 Kudos
szafa
Enthusiast
Enthusiast

Thanks TheBobkin​ for quick reply, will try it tomorrow

0 Kudos