ProxMox – HDD Passthrough

ProxMox – HDD Passthrough

Source:

1. Find disk with you want passthrough

I want passthrough all disk, no partition.

ls -l /dev/disk/by-id/

In my case is:

ls -l /dev/disk/by-id/
lrwxrwxrwx 1 root root  9 kwi 12 20:34 ata-ST9250315AS_5VC36VNP -> ../../sdd


2. Passthrough HDD to VM

Add HDD to VM config file. Add to /etc/pve/qemu-server/<vmid>.conf

scsi1: /dev/disk/by-id/ata-ST9250315AS_5VC36VNP


3. Accept changes

You’ll want to shutdown then boot the VM (not just a regular restart) for the changes to take effect, after which the disk should be accessible in your VM.





Dodaj komentarz

Twój adres email nie zostanie opublikowany.

This site uses Akismet to reduce spam. Learn how your comment data is processed.