Problem
An unknown SCSI device appears in the guest operating system when migrating a virtual machine (VM) from VMware.
Solution
During the VM migration process, its XML configuration is exported. This file contains information about the SCSI controller. To resolve the issue, remove the corresponding entry from the VM's configuration file:
- Stop the affected VM. Go to Virtual Machines → select the VM → menu
→ Stop.
- Connect to the cluster node via SSH. For more information about connecting via SSH, see Workstation setup.
- Determine the internal name of the affected VM:
sudo virsh list --all | grep <VM_name>
- Create a backup copy of the XML configuration file:
sudo virsh dumpxml <VM_internal_name> > dump.xml
Comment - Open the VM configuration file:
sudo virsh edit <VM_internal_name>
Comment - Delete the entry for the SCSI controller. See below for an example of an entry:
Example of a SCSI controller entry in the VM configuration file<controller type='scsi' index='0' model='lsilogic'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller>
- Save and close the configuration file. If the update is successful, the terminal will output the message: Example of a successfully modified entry
Domain '<VM_internal_name>' XML configuration edited.
- Start the VM and check the SCSI controller display.
Useful tips