From 26ff0d15e03d8a5f3d0703ae828d98f70ebbd30b Mon Sep 17 00:00:00 2001 From: Spagnolo Gasper Date: Wed, 30 Nov 2022 14:54:04 +0100 Subject: [PATCH] Add proxmox drive --- proxmox.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 +```