-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Allow shrinking storage volumes #3725
Comments
Right now Admin API backend will refuse to shrink volume anyway, but we're planning to relax this restriction. Make sure the client side (qvm-volume tool here, GUI VM settings already have this in place) will employ appropriate safety check. QubesOS/qubes-issues#3725
Right now Admin API backend will refuse to shrink volume anyway, but we're planning to relax this restriction. Make sure the client side (qvm-volume tool here, GUI VM settings already have this in place) will employ appropriate safety check. QubesOS/qubes-issues#3725
Right now Admin API backend will refuse to shrink volume anyway, but we're planning to relax this restriction. Make sure the client side (qvm-volume tool here, GUI VM settings already have this in place) will employ appropriate safety check. QubesOS/qubes-issues#3725
I also tried to shrink a VM's disk (in my case the private.img) immediately after creating it. It is possible, but the system does not recognize it happening:
After that point, if I start the VM (i.e. its first boot) it seems that What's worse is that if I make a backup of that VM, delete the original, restore it and start it, |
While proper resizing filesystem first is tricky and not planned to be supported anytime soon, there are still cases where shrinking volume can be useful. For example installing/reinstalling template with root volume smaller than default one. This is especially the case for unikernel based systems.
Related: #3169 (comment)
The text was updated successfully, but these errors were encountered: