vXPRT

How to remove vSAN datastore without vCenter Server?

If we have a failed vCenter deployment, and the vSAN datastore was already created we won’t be able to restart the deployment. as the vSAN datastore must be removed first. From GUI the datastore remove option is greyed out, the partition table remove option also not available, then open an ssh session to the esxi host and perform the followings:

As first step, leave the cluster. FOr tha we need to list the cluster and get the Master UUID.

esxcli vsan cluster list

Look for the MASTER UUID then enter the following command:

esxli vsan cluster leave -u 'MASTER UUID'

with the cluster list command we can check that the cluster was left.

Once it’s done, we must leave disk group as well:

esxcli vsan storage list

From here we need the VSAN Disk Group UUID. Enter the following command and add the UUID for the specified place:

esxcli vsan storage remove -u 'VSAN Disk Group UUID'

This could take 0 to 10 minutes to be done. But once its complete, the deploy process could be start again from the beginnings.

Exit mobile version