Add proxmox drive

main
Spagnolo Gasper 2022-11-30 14:54:04 +01:00
parent e1b75f1b70
commit 26ff0d15e0
1 changed files with 16 additions and 0 deletions

View File

@ -7,3 +7,19 @@ ssh into host proxmox and execute
root@spanskiduh:~# qm set <vm_id> --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 <vm-id> -virtio2 /dev/disk/by-id/<disk-uuid>
/sbin/qm set 102 -virtio2 /dev/disk/by-id/ata-WDC_WD10EARS-003BB1_WD-WCAV5L270787-part1
```