-
-
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
Restoring R4.0_rc3 backups >53.0 GB fail with error #3468
Comments
Just checking:
Was your sentence prematurely cut off here? |
I'm sorry, yes--"even though compression was not selected, it appears as though the backups are being compressed?" |
Are you sure it isn't disk space issue? Try to observe disk space usage during the restore process, for example using |
I'm sure it isn't disk space (df -h reports 195GB free for the 53GB backup, and fails shortly after restoring VM names, immediately after indicating backup size). But I will confirm as you suggest. Note also the backup-restore fails with the same error if |
Can you say something more about this backup structure, I'd like to reproduce the problem. Is it many small VMs, or few large? Any custom template included? Any standalone VM? |
Does it also fail when you restore only selected VMs? You can either use |
OK I can confirm it fails and free ( Apologies, after running this test I see additional error messages that I didn't note earlier:
The additional messages don't appear using |
OK I accidentally hit the "close and comment" button, sorry for confusion, obvs this is not resolved : ) please LMK if you would like me to send/post any full logs |
Re: backup structure, I tried several different things but here is the simplest (53GB) that failed -- it takes a few hours at least to make each backups, so I haven't extensively tested different scenarios.
HTH, thanks for looking in to this! |
How about this? Can you successfully restore >53GB backup by doing it in parts - for example first restore VMs summing up to 30GB, then remaining 23GB? I want to check if this depends on backup archive size, or amount of data to restore. PS I haven't managed to reproduce it yet, using various combinations of 100MB, 2GB and 28GB VMs. I've tried to restore from an archive in dom0, in a VM, on an external USB stick, and also artificially slowed down media (500K/s). |
Sorry you're having trouble reproducing this. But yes, it looks like it depends on amount of data to restore, not archive size (only tested restoring a single ~30GB VM from the 53GB backup, but |
If I'm understanding this correctly, I had a similar problem earlier with a 200GB VM. To fully restore currently, you need twice the size of the backup on your target hard drive. The reason is that the encrypted pieces of the backup file are pulled into dom0 faster than they are decrypted, verified, and written into the LVM image representing the new virtual machine (where the restored VM will actually store data). To make matters worse, when the temporary files are deleted, the disk space is not freed until you manually trim the filesystem. I fixed the second and restored my 200GB VM by running |
That might be the problem but I think I always had plenty of free space (3-4x the backup size). In any case, I switched to R4.0_rc4 and was able to restore a 94GB backup, with no apparent problem. Since it seems no longer to be an issue, and @marmarek kindly suggested the previous fix to restore in parts, I'll go ahead and close this issue. Thanks! |
Qubes OS version:
R4.0_rc3
Affected TemplateVMs:
dom0
Steps to reproduce the behavior:
Attempt to restore backups of 53.0 GB or greater created in R4.0_rc3
qvm-block
qvm-block
Expected behavior:
Backups are restored successfully regardless of size, so long as there is enough room on disk.
Actual behavior:
Backups fail for 53.0 GB and 138.0 GB data size, meanwhile backup of 46.8 GB is restored successfully without error. After listing VMs to be restored, the following errors are given:
and
General notes:
Related issues:
don't think these are directly relevant, but they are recent issues re: backup-restore #3446 #3211
The text was updated successfully, but these errors were encountered: