How to cleanup disk previously used by vSAN 6.x

In the VCSA Web Client, there is a function called Erase partitions under Storage Devices, that allows you to erase and remove all partitions on the local hard disk(s). However, sometimes when you try to erase partitions, you are presented with the error “Cannot change the host configuration“, and the partitions are not removed. One of the options was to boot up the server using gParted¬†utility and erase partitions. However, this can be done using partedUtil utility on the ESXi host. Continue reading “How to cleanup disk previously used by vSAN 6.x”