You must add a generic SCSI device to the virtual machine to map virtual SCSI devices on a virtual machine to physical generic SCSI devices on the host system. You can add up to 60 generic SCSI devices to a virtual machine.
Prerequisites
- On a Linux host system, log in as a user who has read and write permissions for the SCSI device. Also, verify that version 2.1.36 or later of the SCSI Generic driver (
sg.o
) is installed. This version of the SCSI Generic driver is included with Linux kernel 2.2.14 and later.
Procedure
- Select the virtual machine and select .
- On the Hardware tab, click Add.
- In the Add Hardware wizard, select Generic SCSI Device.
- Click Finish to add the device.
- Select the physical SCSI device to map to the virtual SCSI device.
When you type the path to the SCSI device on a Linux host, do not enter
/dev/st0
or
/dev/sr0
.
- To connect the device when the virtual machine powers on, select Connect at power on.
- On the Hardware tab, select the SCSI device identifier to use for the device from the Virtual device node drop-down menu and click OK.
For example, if you select
SCSI 0:2, the guest operating system sees the drive as ID 2 on controller 0.