diff --git a/proxmox.md b/proxmox.md index 7f5ce6b..ff4b4af 100644 --- a/proxmox.md +++ b/proxmox.md @@ -7,3 +7,19 @@ ssh into host proxmox and execute root@spanskiduh:~# qm set --cpu host ``` Next go to web interface and shut down the machine (just reboot won't work). + + +### Add data disk to vm + +Firstly locate your partition using: + +```bash +ls -n /dev/disk/by-id +``` + +Then add it to vm using: + +```bash + /sbin/qm set -virtio2 /dev/disk/by-id/ + /sbin/qm set 102 -virtio2 /dev/disk/by-id/ata-WDC_WD10EARS-003BB1_WD-WCAV5L270787-part1 +```