[PVE-User] Issues with CPU and Memory HotPlug

Alexandre DERUMIER aderumier at odiso.com
Thu Jul 27 12:21:05 CEST 2017


cpu hotplug/unplug works fine 

memory hotplug works fine 

memory unplug is mostly broken in linux and not implemented in windows. 


see notes here : 

https://pve.proxmox.com/wiki/Hotplug_(qemu_disk,nic,cpu,memory) 



	

Alexandre Derumier 
Ingénieur système et stockage 

Manager Infrastructure 


Fixe : +33 3 59 82 20 10 



125 Avenue de la république 
59110 La Madeleine 
[ https://twitter.com/OdisoHosting ] [ https://twitter.com/mindbaz ] [ https://www.linkedin.com/company/odiso ] [ https://www.viadeo.com/fr/company/odiso ] [ https://www.facebook.com/monsiteestlent ] 

[ https://www.monsiteestlent.com/ | MonSiteEstLent.com ] - Blog dédié à la webperformance et la gestion de pics de trafic 






De: "Gilberto Nunes" <gilberto.nunes32 at gmail.com> 
À: "proxmoxve" <pve-user at pve.proxmox.com> 
Envoyé: Mercredi 26 Juillet 2017 23:26:45 
Objet: [PVE-User] Issues with CPU and Memory HotPlug 

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 
_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 



More information about the pve-user mailing list