meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
vm:proxmox:kvm:disk_passthrough [2020/07/08 08:51] – created niziak | vm:proxmox:kvm:disk_passthrough [2021/10/21 11:33] (current) – niziak | ||
---|---|---|---|
Line 3: | Line 3: | ||
it is possible to attach disk to running KVM machine. | it is possible to attach disk to running KVM machine. | ||
<code bash> | <code bash> | ||
+ | # Add SCSI drive: | ||
qm set 107 -scsi3 / | qm set 107 -scsi3 / | ||
+ | |||
+ | # Add single partition to SCSI controller: | ||
+ | qm set 107 -scsi3 / | ||
+ | |||
+ | |||
+ | # Remove drive: | ||
+ | qm unlink 107 --idlist scsi3 | ||
</ | </ | ||
+ | Machine reboot is required (not system restart) for new SATA device (there wasn't SATA controller before) | ||
+ | <code bash> | ||
+ | # Add SATA drive: | ||
+ | qm set 107 -sata0 / | ||
+ | |||
+ | # Remove drive: | ||
+ | qm unlink 107 --idlist sata0 | ||
+ | </ |