The solution to the problem is actually much simpler, collect the old VSAN Disk Group UUID from this command:
And then run:
That's it, after this was done on each host I could readd them to the VSAN cluster and create new disk groups on them.
I came around a problem today where I had several hosts of a previously created VSAN cluster which would be used for a new VSAN cluster. After adding the hosts to the new cluster I couldn't create any diskgroups on them, nor was I able to erase the disk partitions with partedUtil or other command line tools.
The solution to the problem is actually much simpler, collect the old VSAN Disk Group UUID from this command:
And then run:
That's it, after this was done on each host I could readd them to the VSAN cluster and create new disk groups on them.