DVS out of Sync for a host. Cannot create directory .dvsdata when using vSAN
search cancel

DVS out of Sync for a host. Cannot create directory .dvsdata when using vSAN

book

Article ID: 326991

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSAN VMware vSphere ESXi

Issue/Introduction

• Distributed virtual Switch is out of sync on one or multiple hosts.
• In hostd.log you see the following (names and timestamps may differ):

YYYY-MM-DDT:HH:MM:SS.XXXX info hostd[2328338] [Originator@6876 sub=Solo.Vmomi opID=1b3c072c-fed1 user=vpxuser] Result:
--> (vim.fault.DvsApplyOperationFault) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = <unset>,
-->    objectFault = (vim.fault.DvsApplyOperationFault.FaultOnObject) [
-->       (vim.fault.DvsApplyOperationFault.FaultOnObject) {
-->          objectId = "2138",
-->          type = "vim.dvs.DistributedVirtualPort",
-->          fault = (vim.fault.PlatformConfigFault) {
-->             faultCause = (vmodl.MethodFault) null,
-->             faultMessage = <unset>,
-->             text = "Failed to update port persistence location"

YYYY-MM-DDTHH:MM:SS.XXXX warning hostd[2328338] [Originator@6876 sub=Hostsvc.NetworkProvider opID=1b3c072c-fed1 user=vpxuser] Skip saving dvport <DVS_NAME>-####  to /vmfs/volumes/vsan:###############-###########/########-####-####-####-#############/.dvsData/## ## ## ## ## ## ## ##-## ## ## ## ## ## ## ##/####: failed to create dir


• If you use NSX, you may see in the DvS details that some of the ports not in use are attached to NSX virtual wires provisioning VMs.

 

Environment

VMware ESXi 7.0.x

VMware ESXi 8.0.x

Cause

  • Hosts need a datastore to write in it .dvsdata and configurations from DVS.
  • If the datastore is vSAN then you may meet this issue. 

Resolution

If you have encountered this issue, please open a support case with Broadcom Support  by referring this KB , to determine the root cause and get it resolved.