-
-
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
Qubes storage pools of type LVM issues #3438
Comments
@andrewdavidwong can you please remove the 'installer' tag? This is about the qvm-* commands only. Thanks! |
I can't reproduce the latter, it shows me the right number, the same as "LSize" column in |
This isn't related to LVM. The template has a set of "features" (see |
What is |
You are right, this is due to the usage of GiB in lvs where I expected GB. The only issue really here seems to be that the values at the beginning were zero. (I know that for a fact, I copy pasted that in an email). I'll update the issue above to avoid confusing people coming in later. |
Confusing :) qvm-pool doesn't list it. In the On each individual domain/volume that uses this pool, the xml-attribute is set to 1 (except for volatile, which is zero, for obvious reasons). Oh, and I set it to two initially. |
Force cache refresh after registering new pool - it might be just created. QubesOS/qubes-issues#3438
Check if requested thin pool exists and really is thin pool. QubesOS/qubes-issues#3438
It can be leftover from previous failed attempt. Don't crash on it, and replace it instead. QubesOS/qubes-issues#3438
Automated announcement from builder-github The package
|
I get the same error even if the template-vm lies in the same lvm thin pool:
|
Ok, it works if I do not specify the root volume: |
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
This is a list of issues found in usage of pools in Qubes4RC3, as per private email I register them here to allow everyone to keep track of these;
This is the purpose of VmCreationManager, but that covers only vm creation...
Per design, creating a pool creates a corresponding dir under /usr/lib/qubes/appvms
I’ve had two issues with that.
template is not on the same pool. AND it will leave the directory behind.
I expect failures to not leave a dir behind. Either check first or clean up on fail.
Which naturally leads to;
creating a new VM will cause an internal exception if the dir in /usr/lib/qubes
already exists. I expect this to end up with a user-visible error from the API.
Creating a qvm pool with argument revisions_to_keep=0 will cause the qvm-
create later to exit based on it not being able to make a backup or
something.
Error detection should happen in the qvm-pool command.
Calling qvm-create with the root-pool being different from the pool the template is in gives you;
app: Error creating VM: Can't clone a snapshot volume root to pool qubes_ssd
I think what it meant to say is that the root has to be in the same pool as
the template it is based on.
This is probably just a case of improving the error message.
Requesting
qvm-pool -i POOL
lists thesize
of zero when just created.Qubes creates a snapshot at every start which turns into a backup partition when it exits. The problem is that qubes never garbage collects old backups. They continue getting created and
sudo lvs
gets quite lengthy after some time.The text was updated successfully, but these errors were encountered: