As you perform Storage vMotion and move the virtual machine from source host to destination host, you must keep the destination host's setting the same as the setting of the source host. If the destination host is not added to the same distributed virtual switch, the virtual machine adapter is connected to an unknown distributed virtual switch.
To avoid this issue, before performing Storage vMotion, detach the virtual NIC from the distributed virtual switch by editing the settings of the virtual machine:
- To access the virtual machine settings, select the virtual machine in the left pane in the vSphere Web Client.
- Click the Manage tab, then click Settings and then click VM Hardware. If a virtual NIC is attached to a distributed virtual switch that does not exist on the host, the Attachment window displays no information.
- To detach the virtual NIC from the non-existing distributed virtual switch, click the Network adapter to select an alternative option from the menu cascade (for example VM Network).
- Click OK to save the changes.
If you get the "Invalid configuration for device 13" error while performing Storage vMotion, disconnect the NIC before initiating the migration.