
4.1.1 Reboot the VM, verify that the emulated serial port is there.4.1 Configure the terminal if not present.3.1 Add a virtual serial port to the VM.1 Why would I need a serial terminal / serial console?.

You may need to configure the guest operating system now that the disk is available. Hot-Unplug/Remove virtual disk qm unlink 592 -idlist scsi2Ĭheck Configuration File grep Z1F41BLC /etc/pve/qemu-server/592.conf Update Configuration Hot-Plug/Add physical device as new virtual SCSI disk qm set 592 -scsi2 /dev/disk/by-id/ata-ST3000DM001-1CH166_Z1F41BLC dev/disk/by-id/usb-Generic_STORAGE_DEVICE-0:0 ->. You can also use an extended one liner to get the path directly: The lsblk is pre-installed, you can print and map the serial and WWN identifiers of attached disks using the following two commands: Use the stable /dev/disk/by-id paths instead.Ĭheck by listing all of that directory then look for the disk added by matching serial number from lshw and the physical disk: Note that device names like /dev/sdc should never be used, as this can change between reboots.


Lshw is not installed by default on Proxmox VE (see lsblk for that below), you can install it by executing apt install lshw lshw -class disk -class storageĬonfiguration: ansiversion=5 sectorsize=4096 1.4 Stop and Restart KVM Virtual Machineīefore adding a physical disk to host make note of vendor, serial so that you'll know which disk to share in /dev/disk/by-id/.1.2.1 Hot-Plug/Add physical device as new virtual SCSI disk.
