[PVE-User] Issues with CPU and Memory HotPlug
Gilberto Nunes
gilberto.nunes32 at gmail.com
Thu Jul 27 00:15:59 CEST 2017
UPDATE
I thing I figured out that I can only increase and not decrease the
resource in VM KVM, right???
2017-07-26 18:26 GMT-03:00 Gilberto Nunes <gilberto.nunes32 at gmail.com>:
> Hi list
>
> I am using PVE 5.0, and try to hotplug Memory and CPU.
> I set the file
> /lib/udev/rules.d/80-hotplug-cpu-mem.rules, with
>
> SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"
> SUBSYSTEM=="memory", ACTION=="add", TEST=="state", ATTR{state}=="offline", ATTR{state}="online"
>
> I have install a VM with Ubuntu 17.04, with ZFS as storage, with 4 GB of memory.
>
> When I try decrease the memory, I receive a kernelops:
>
> kernel BUG at /build/linux-Fsa3B1/linux-4.10.0/mm/memory_hotplug.c:2172
>
> And in the web interface I get:
>
> Parameter verification failed. (400)
>
> memory: hotplug problem - 400 parameter verification failed. dimm5: error unplug memory
>
> This is the conf of the vm:
>
> agent: 1
> bootdisk: scsi0
> cores: 2
> cpu: Conroe
> hotplug: disk,network,usb,memory,cpu
> ide2: STG-01:iso/mini-ubuntu-64.iso,media=cdrom
> memory: 2048
> name: VM-Ubuntu
> net0: virtio=FE:26:B8:AC:47:0B,bridge=vmbr0
> numa: 1
> ostype: l26
> protection: 1
> scsi0: STG-ZFS-01:vm-101-disk-1,size=32G
> scsihw: virtio-scsi-pci
> smbios1: uuid=5794fcd3-c227-46fe-bea9-84d41f75a0d7
> sockets: 2
> usb0: spice
> usb1: spice
> usb2: spice
> vga: qxl
>
>
> What is wrong???
>
> Thanks
>
More information about the pve-user
mailing list