TECHNIG
Gateway for IT Experts and Tech Geeks

How to Delete vSAN Datastore Correctly

A simple note to delete vSAN datastore from ESXi host while it’s not parts of the cluster. The error “Found host(s) esxi.mydomain.lab participating in the vSAN service which is not a member of this host’s vCenter cluster“, indicates that the host is still a member of vCenter cluster.

Found host(s) esxib.technig.lab participating in the vSAN service which is not a member of this host's vCenter cluster
Found host(s) esxib.technig.lab participating in the vSAN service which is not a member of this host’s vCenter cluster

The issue comes out when I was playing with vSAN configuration on vShpere 7. I’ve deleted the cluster without removing the cluster hosts properly.

Delete vSAN Datastore in ESXi Host

It’s not possible to delete a vSAN datastore from Datastore section of ESXi host. I’ve tried but the Delete button was false.

But we can remove the ESXi host from vSAN cluster then the vSAN datastore will be removed automatically.

Let’s delete vSAN Datastore using the following steps.

Enable SSH on ESXi host where you deploy VCSA

  1. Log in ESXi host suing IP address and root and password.
  2. Click Manage on Navigator part.
  3. Select the Services tab.
  4. Select TSM-SSH service from the list.
  5. Push Start button on top.
Enable SSH on ESXi Host - Technig
Enable SSH on ESXi Host – Technig

Make sure the SSH is enabled and you are able to connect to ESXi host via SSH.

Related Article: How To Fix No Healthy Upstream VCenter 7 Issue?

You can enable ESXi SSH through vCenter as well.

Connect with root user to ESXi host using PuTTy, command prompt, Terminal, PowerShell, Chrome SSH or whatever you have.

 ssh root@192.168.20.101
SSH to ESXi Host - Delete vSAN Datastore
SSH to ESXi Host – Delete vSAN Datastore

Now, type the following command to check out the vSAN Datastore.

esxcli vsan storage list

If you have any storage linked to vSAN, delete it with the following command. Make sure you select the right UUID of the vSAN Datastore.

esxcli vsan storage remove -u "UUID"

The command will list all the vSAN mounted storage on ESXi host. If you don’t have any mounted datastore like my lab, just type the following command to remove the host from vSAN cluster.

esxcli vsan cluster leave

The task has been completed. Now you should have a healthy ESXi host with any notifications or the “Found host(s) esxi.mydomain.lab participating in the vSAN service which is not a member of this host’s vCenter cluster” error.

I hope this has been informative and solved the issue you have with your VMWare vSphere Lab. If you want more about vSAN Datastore and Disk group.

3 Comments
  1. Paul says

    Thank you man, it really worked for me.

  2. Rustam says

    Awesome. Because VMware software is hopeless I was reinstalling my lab esxi host each time it failed after half way through when vCenter installation stopped and vSAN datastore made it worse for reinstallation. This option removed the vSAN datastore. So much relief of not installing and configuring network every time the installation failed due to some DNSresolve issue it is facing (only during installation) otherwise no issues what so ever with other host additions etc… I tell you VMWare software quality I have found worse than even microsoft. So far encountered about 50 – 60 errors in just last 3 – 4 days.
    Great help. Lucky found your article.

    Just one thing. vSAN datastore is gone but the disks are still marked for vLAN (green) how to free them for another vCenter installation attempt so that during installation disks are identified available ?

  3. Rustam says

    Got it. I think after that command you suggested just need to restart the host and disk partitions can then be deleted normally.

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

where to buy viagra buy generic 100mg viagra online
buy amoxicillin online can you buy amoxicillin over the counter
buy ivermectin online buy ivermectin for humans
viagra before and after photos how long does viagra last
buy viagra online where can i buy viagra