To determine if the dvsdata.db file is corrupted, run the command:
# /usr/lib/vmware/bin/net-dvs
If the dvsdata.db is corrupted, you see the output:
failed to get config data: Not initialized.
Note: If no output is returned, then vDS is not enabled.
To resolve this issue:
- Download and unzip 1015322_dvsdata.zip (attached to this article). This zip file contains an uncorrupted copy of dvsdata.db.
Note: You can also obtain an uncorrupted dvsdata.db from an ESX/ESXi host in your environment which is not experiencing this issue.
- Replace the corrupt dvsdata.db in /etc/vmware/ with the uncorrupted file.
- Reboot the host.
- Run the following command to verify that the file is no longer corrupted:
# /usr/lib/vmware/bin/net-dvs
Alternately, you can use this command to reload dvsdata.db without a reboot:
# /usr/lib/vmware/bin/net-dvs -S /etc/vmware/dvsdata.db