Backup restore result in dom0 storage damage

A reproducible test was conducted by restoring a ~100GB Qubes backup in verification mode to collect evidence and logs. Two failures occurred:

  1. sys-usb startup failure - Storage-related error requiring manual removal of qubes_dom0/vm-sys-usb-private(known issue)
  2. dom0 boot failure - Post-reboot, dom0 could not boot and entered maintenance mode

Anyone familiar with such issue or it something new that should be reported to team?

AFAIK, backup of dom0 includes its private volume only.

You mean home directory.

I face ssd memory over flaw, it’s not a first time and not a new bug as I know.

Few basic actions can damage dom0 storage space:

  1. Copy to dom0 disk image for installation as .iso and cast it to .raw during copy.

  2. Verification restore of big backup file.

Yeah, home. I wish it was possible to backup at least /etc too.

It is difficult to understand how you restored dom0 and ended up in the described state. I didn’t even know it was possible to restore dom0 on top of existing dom0. I have always restored backup to qubes with new names.

I’ve restored several qubes from backup file. However, the entire restoration process takes effect in dom0.

(We talk about backup verification mode, not about real data restore)

(We talk about backup verification mode, not about real data restore)

Which makes it even more strange.

Delete

Found that, backup of big size template 25GB.

Attempt to restore it result in:

Qubes backup restore error

Error while processing ‘/home/username/QubesIncoming/backup#restore/tmpt8fv2_lk/vm41/private.img.037”: gzip: stain: invalid compressed data - - format violated tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now.

twice

When I press cancel next windows appear

Restore qubes

Finished with errors!

Partially restored files left in ~/QubesIncoming/backup#restore-*, investigate them and/or clean them up.

Impossible to clean them up, since even root in dom0 don’t have access to this files.

Entire dom0 components crash: same menu parts don’t function, after restart dom0 boot into bash shell. Before restart attempt to run Backup restore tool and restore anything, even dispvm with 0gb disk space - result in storage error.

Perhaps a bug that is already fixed?

No, the issue still exists. It took me some time to reproduce it with the default configuration files.

I’m not sure how to extract any further information from the logs or the journalctl, since dom0 dies as a result of those actions.

After the reboot, during the disk-encryption stage, the process switches to a recovery screen showing a boot error message. This screen offers to extract a .log file onto a USB stick, but the CLI doesn’t respond to any commands, only Ctrl+C works. The bash shell that appears afterward seems to be part of the basic UEFI functionality.

Why don’t you report it on GitHub?