@olivierlambert I love xcp-ng and the work that you do, and apologize in advance for reviving this old thread, and I'm sure this question has been asked many times, which would probably be a bit frustrating to have repeated if it's something that needs to be implemented upstream or in the storage stack.
I try to steer as many of our clients as possible towards xcp-ng in my work as an MSP, and constructively, I thought it worthwhile to bump this thread to revive interest in this feature, and communicate the feedback that this specific feature (or lack thereof) has on a few occasions been the "deal breaker" leading clients to choose a different hypervisor.
The scenario that comes to mind is one where there's an unexpected surge in storage demand that leads to critically-low disk space on a VM - with xen/xcp-ng this scenario forces an administrator to consider either shutting down a VM to add capacity outside of a planned outage window (potentially creating a brief outage/reducing availability), or else face the consequences of the volume running out of space while the VM is in operation (potentially degrading availability and integrity of data) if the remaining capacity runs out.
As a result, in the interest of uptime we find ourselves feeling the need to allocate more space to virtual disks in xcp-ng to feel we have a "safe" amount of breathing room compared to some of the other hypervisors with similar workloads.
Being able to quickly increase the size of virtual disks without downtime means not only better usage of resources in the long run: it also means reduced downtime for these changes.
It would be great to hear whether this might be on the roadmap with SMAPIv3.
It's also really an excellent suggestion made above regarding the ability to "queue" the disk resize for the next time the VM reboots!
This is a flow I've gotten used to in other hypervisors for similar resource changes (such as resizing allocated memory) that cannot happen while the VM is running. If it's faster/more realistic for a feature like this to be implemented in the meantime, it definitely would help with some of the anxieties around managing VM storage capacity. +1 for this if it's more straightforward to schedule a resize upon the next reboot.