Add proxmox drive
parent
e1b75f1b70
commit
26ff0d15e0
16
proxmox.md
16
proxmox.md
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue