RAW Device Mapping to Virtual Machine

Follow the steps below if the prerequisites of an operating system or an application should be that a RAW device mapping into the virtual machine is necessary:

  1. After successfully serving the virtual disk (single or mirror) to the Proxmox (PVE) node, run a rescan to make the virtual disk visible in the system using the following command:
iscsiadm -m session --rescan
  1. Identify the virtual disk to use as a RAW device and identified multipath name “mpathX” using the following command:
lsblk
  1. Navigate to the “/dev/mapper” directory and run the ls -la command to verify which dm-X the required device is linked to.

Output:

  1. Hot-Plug/Add physical device as new virtual SCSI disk using the following command:
  2. qm set VM-ID -scsi>No< /dev/dm->No<

    For Example:

    qm set 100 -scsi2 /dev/dm-11
    Ein Bild, das Text, Screenshot, Zahl, Schrift enthält.

Automatisch generierte Beschreibung