hut7no
unread,Mar 8, 2020, 2:39:39 PM3/8/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qubes...@googlegroups.com
I recently deleted three large AppVMs on accident.
I panicked and shut off my computer to avoid writing.
The AppVMs were on a secondary usb drive, configured as show in the qubes documentation.
I tried to recover using the relevant /etc/lvm/archive/ files with vgcfgrestore and ended up using --force since I'm using thin volumes.
I used --test, it seemed to work, then I ran the command without --test, for each .vg file, from most recent to the oldest relevant file.
Once I tried to activate the volume group with vgchange -ay qubes, I got errors saying the transaction_id was wrong.
Lvscan shows the whole drive as inactive.
Is there anything I can do to fix this, or at least recover some individual files?
Thank you in advance.