-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
udev rules for proxmox hotplug cpu/mem #1156
Comments
If it is in
I'll add it in the next release. |
…t#1156) Use udev rules to set the CPU online. For memory, we let the kernel bring memory online automatically. This is preferred as udev rule processing might be delayed in a low memory situation, see: https://lwn.net/Articles/668944/
Use udev rules to set the CPU online. For memory, we let the kernel bring memory online automatically. This is preferred as udev rule processing might be delayed in a low memory situation, see: https://lwn.net/Articles/668944/
I tried hotplugging using KVM yesterday, memory hotplug seemed to just work even without this change, not sure why it works with KVM even without this option... But CPU did not work (Virtual Machine Manager said I have to shutdown the machine...). I guess this would need further conflagration. Anyway, I created a development build with |
Did adding CPU work when you added the udev rule manually? |
I wasn't able to add rules in /lib/udev/rules.d Thanks |
They are working, as they get loaded exactly the same way as they get loaded from In the development release there should be also |
Ok, yes, file /lib/udev/rules.d/80-hotplug-cpu.rules exist in dev version. |
The memory hotplug udev rule is not necessary as I enabled
|
home-assistant/operating-system#1156 we use an udev rule to set the CPU online. For memory, we let the kernel bring memory online automatically.
Thanks, I didn't know that, I'm pretty new in virtualization. 👍 |
Closing as this will be fixed in version 6. |
Hello,
![image](https://user-images.githubusercontent.com/1167931/103552025-86085800-4eab-11eb-8497-248433ddfb40.png)
I'm using hass OS in Proxmox 6.3 and VM only see 972Mi of RAM:
So i've try to add a udev rules in /mnt/boot/CONFIG/udev/80-hotplug-cpu-mem.rules, then reboot.
File has been copied in /etc/udev/rules.d/ but nothing happen for memory.
How can I add rules in /lib/udev/rules.d ?
Thank you.
Regards,
The text was updated successfully, but these errors were encountered: