meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vm:proxmox:kvm:disk_passthrough [2020/07/08 08:51] – created niziakvm: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 /dev/disk/by-id/ata-ADATA_SU800_2I0120040332 qm set 107 -scsi3 /dev/disk/by-id/ata-ADATA_SU800_2I0120040332
 +
 +# Add single partition to SCSI controller:
 +qm set 107 -scsi3 /dev/disk/by-id/ata-ADATA_SU800_2I0120040332-part3
 +
 +
 +# Remove drive:
 +qm unlink 107 --idlist scsi3
 </code> </code>
  
 +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 /dev/disk/by-id/ata-ADATA_SU800_2I0120040332
 +
 +# Remove drive:
 +qm unlink 107 --idlist sata0
 +</code>