Configure vSAN Error Disk with VSAN uuid failed to appear in CMMDS
In configuring a 2-node VMware vSAN cluster with a Witness host I ran into a strange issue that took a bit of head scratching and Googling to figure out. However, the solution was actually fairly simple. In attempting to configure vSAN on the 2-node cluster, adding disks to the disk group on one of the hosts continued to fail with a peculiar error. Let’s take a look at the Configure VSAN Error Disk uuid failed to appear in CMMDS and see the simple resolution in my case.
Configure vSAN Error Disk with VSAN uuid failed to appear in CMMDS
As mentioned I was configuring a 2-node VMware vSAN cluster with a Witness host for home lab purposes.ย One of the host’s would add its (2) local disks without issue (cache tier and capacity tier).ย However, the other host would take quite a long while and finally error out with the error:ย Disk with VSAN uuid failed to appear in CMMDSย as shown below:
A little bit of background on the “just prior” events performed on the host in question.ย The host had a 1 TB NVMe drive that would serve as aย capacity tier for the local disk group for that server.ย However, this drive had previously been used as a local DAS datastore.ย I had unmounted and deleted the datastore prior to running the vSAN configuration on the cluster.
The disk group continued to fail with the error message shown in the screenshot.ย Additionally in running a few command line queries to gather some more information, this is what was shown.ย A helpful command in checking out the status of the individual disks in the vSAN disk group is theย esxcli vsan storage list command.ย The disk in question showed the following in the output of the command –ย In CMMDS: false which is not what we want to see.ย Also, in the disk group window, theย vSAN Health Status did not show anything except a line.
I then found the following VMware KB article:ย ย https://knowledge.broadcom.com/ย which covers the topic, “After removing and re-inserting a disk associated with vSAN, the disk is not re-added to the vSAN disk group (2143296)”.ย The part that grabbed my attention:
- Re-insert the vSAN disk.
- Refresh the host storage system in the vSphere Web Client.
- The vSAN host reclaims the device.
I went ahead and ran both theย refreshย andย rescan options on the storage.
After refreshing and rescanning, I reconfigured vSAN again to see if this made a difference with the disk group creation.
After refreshing and rescanning, the vSAN disk group was created successfully.
Concluding Thoughts
The vSAN disk group creation process relies on the host having successfully enumerated the SCSI device in the storage subsystem.ย I had removed the disk and simply attempted the vSAN configuration immediately afterwards and apparently the host had lost its association with the disk.ย This resulted in Configure vSAN Error Disk with VSAN uuid failed to appear in CMMDS.ย As the VMware KB noted, a quick refresh should resolve the issue.ย To cover the bases, I did the refresh and a full rescan of storage.ย Afterwards, the vSAN disk group created successfully.