Increasing the disk size of vmguest without shuting down
-
Hi, Everyone.
Just need your help why can't I increase the a vmguest disk capacity without shutting the vm down? When I tried to increase it, it says VDI in use. Is this the default behaviour?
-
Hi,
You can't grow a VDI size while it's used.
-
Thanks for the response, would it be possible to add this as an additional feature of xen orchestra in the future?
-
It's due to the current storage stack (SMAPIv1). So it's not a Xen Orchestra feature.
However, in SMAPIv3, that would be likely possible, depending on the specific storage driver (ZFS, LVM or other). So let's say "likely" in the future
Read this for an overview: https://xcp-ng.org/blog/2022/06/02/understanding-the-storage-stack-in-xcp-ng/
-
Thank you for the info and congrats as well to you and your team. I read Vates has new office. I hope Vates and XCP-NG grows more bigger in the near future.
-
Hi!
As this is something, I have to do quite often: Would it be possible to have a feature: resize on next reboot?
-
Resize on next reboot is probably doable via XO itself That's an interesting feature, I wonder how hard to develop it
Any opinion @MathieuRA ?
-
@KPS You could put in a task list in the local startup script. See various options here: https://www.baeldung.com/linux/run-script-on-startup
-
Hi,
Since XO is a client, I don't think it's a good idea to have this kind of feature. In this case, a VM could be restarted from sources other than XO, and would not apply the new VDI size.However, I believe we can handle this situation by implementing a modal that appears when editing the VDI size of a running VM. This modal can offer the option to restart the VM immediately and apply the changes. In my opinion, removing the "pending" state will prevent confusion
-
@MathieuRA Indeed, that's the right way to do it, I think