TKG 2.5.1
Identify all affected datastores and connected ESXi hosts.
Open SSH session to all the ESXi host and stop the host daemon:/etc/init.d/hostd stop
Backup the existing catalog files to a temporary location from any one ESXi host for all the affected datastores.mkdir /tmp/<datastore_name>-catalog-bkp cd /vmfs/volumes/<datastore_name>/catalog mv $(ls | grep -v journal) /tmp/catalog
Restart the hostd service on the all the hosts: /etc/init.d/hostd start.
Enable the Managed Object Browser (MOB) on the ESXi host: vim-cmd hostsvc/advopt/update Config.HostAgent.plugins.solo.enableMob bool true
Navigate to the ESXi Host MOB URL to execute datastore inventory reconciliation: https://<Host IP address>/mob/?moid=ha-vstorage-object-manager&method=reconcileDatastoreInventory
Input the Datastore UUID and run the task until it succeeds for each datastore.
Verify that the catalog folder and vclock files are regenerated in the datastore path.
Navigate to cd /vmfs/volumes/<datastore_name>/catalog/vclock
Establish an SSH session to the vCenter Server and access the VCDB: psql -U postgres -d VCDB
Reset the vClock values to force vCenter to acknowledge the storage changes: update cns.vpx_storage_datastore_info set vclock=-1 where datastore_url='<datastore_url>'; delete from cns.volume_info where datastore='<datastore_url>';
Restart the vSAN health service: vmon-cli --restart vsan-health
Monitor and verify that the vclock values update and volumes populate in the cns.volume_info table.
The below query displays the 5 most recently updated volumesSELECT volume_id, volume_name, vclock FROM cns.volume_info ORDER BY vclock DESC LIMIT 5;
If the database remains stagnant, manually trigger a full synchronization via the StorageLifecycleManager MOB:https://<REDACTED_IPS>/vslm/mob//?moid=StorageLifecycleManager&method=VslmSyncDatastore
Input the datastore URL, set fullSync=true, and leave the fcd Id field blank.
Redeploy the minio3 pod and attempt to synchronize data.