Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 684 Bytes

add-a-disk.md

File metadata and controls

24 lines (18 loc) · 684 Bytes
title
How to add a disk

Pass through to VM

Add a pass-through disk by filling in this template. Look at the existing passed through disks and increment the virtio ID by 1. Always use by-id identifiers for disks instead of e.g. /dev/sda, as the latter can change between boots.

qm set <VMID> -virtio<ID> /dev/disk/by-id/ata-<ID>

e.g. if I already have virtio1-virtio4 on VMID 100, I would add virtio5:

qm set 100 -virtio5 /dev/disk/by-id/ata-HGST_XXXXXXXXXXXXXXX_XXXXXXXX

:::{.callout-important} Backup and replication must be disabled in the Proxmox GUI to avoid these disks being included in automated full-disk backups. :::