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.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200308183920.GA838%40mail2-dvm.
    Activating logical volume qubes/poolhd0 exclusively.
    activation/volume_list configuration setting not defined: Checking only 
host tags for qubes/poolhd0.
    Creating qubes-poolhd0_tmeta
    Loading qubes-poolhd0_tmeta table (253:343)
    Resuming qubes-poolhd0_tmeta (253:343)
    Creating qubes-poolhd0_tdata
    Loading qubes-poolhd0_tdata table (253:344)
    Resuming qubes-poolhd0_tdata (253:344)
    Executing: /usr/sbin/thin_check -q --clear-needs-check-flag 
/dev/mapper/qubes-poolhd0_tmeta
    Creating qubes-poolhd0-tpool
    Loading qubes-poolhd0-tpool table (253:345)
    Resuming qubes-poolhd0-tpool (253:345)
  Thin pool qubes-poolhd0-tpool (253:345) transaction_id is 206, while expected 
202.
    Removing qubes-poolhd0-tpool (253:345)
    Removing qubes-poolhd0_tdata (253:344)
    Removing qubes-poolhd0_tmeta (253:343)
    Activating logical volume qubes/vm-test-random-private exclusively.
    activation/volume_list configuration setting not defined: Checking only 
host tags for qubes/vm-test-random-private.
    Creating qubes-poolhd0_tmeta
    Loading qubes-poolhd0_tmeta table (253:343)
    Resuming qubes-poolhd0_tmeta (253:343)
    Creating qubes-poolhd0_tdata
    Loading qubes-poolhd0_tdata table (253:344)
    Resuming qubes-poolhd0_tdata (253:344)
    Executing: /usr/sbin/thin_check -q --clear-needs-check-flag 
/dev/mapper/qubes-poolhd0_tmeta
    Creating qubes-poolhd0-tpool
    Loading qubes-poolhd0-tpool table (253:345)
    Resuming qubes-poolhd0-tpool (253:345)
  Thin pool qubes-poolhd0-tpool (253:345) transaction_id is 206, while expected 
202.
    Removing qubes-poolhd0-tpool (253:345)
    Removing qubes-poolhd0_tdata (253:344)
    Removing qubes-poolhd0_tmeta (253:343)
    Activating logical volume qubes/vm-test-random-2-private exclusively.
    activation/volume_list configuration setting not defined: Checking only 
host tags for qubes/vm-test-random-2-private.
    Creating qubes-poolhd0_tmeta
    Loading qubes-poolhd0_tmeta table (253:343)
    Resuming qubes-poolhd0_tmeta (253:343)
    Creating qubes-poolhd0_tdata
    Loading qubes-poolhd0_tdata table (253:344)
    Resuming qubes-poolhd0_tdata (253:344)
    Executing: /usr/sbin/thin_check -q --clear-needs-check-flag 
/dev/mapper/qubes-poolhd0_tmeta
    Creating qubes-poolhd0-tpool
    Loading qubes-poolhd0-tpool table (253:345)
    Resuming qubes-poolhd0-tpool (253:345)
  Thin pool qubes-poolhd0-tpool (253:345) transaction_id is 206, while expected 
202.
    Removing qubes-poolhd0-tpool (253:345)
    Removing qubes-poolhd0_tdata (253:344)
    Removing qubes-poolhd0_tmeta (253:343)
    Activating logical volume qubes/vm-storage8-dvm-bk-private exclusively.
    activation/volume_list configuration setting not defined: Checking only 
host tags for qubes/vm-storage8-dvm-bk-private.
    Creating qubes-poolhd0_tmeta
    Loading qubes-poolhd0_tmeta table (253:343)
    Resuming qubes-poolhd0_tmeta (253:343)
    Creating qubes-poolhd0_tdata
    Loading qubes-poolhd0_tdata table (253:344)
    Resuming qubes-poolhd0_tdata (253:344)
    Executing: /usr/sbin/thin_check -q --clear-needs-check-flag 
/dev/mapper/qubes-poolhd0_tmeta
    Creating qubes-poolhd0-tpool
    Loading qubes-poolhd0-tpool table (253:345)
    Resuming qubes-poolhd0-tpool (253:345)
  Thin pool qubes-poolhd0-tpool (253:345) transaction_id is 206, while expected 
202.
    Removing qubes-poolhd0-tpool (253:345)
    Removing qubes-poolhd0_tdata (253:344)
    Removing qubes-poolhd0_tmeta (253:343)
    Activating logical volume qubes/vm-storage8-dvm-bk-private-import 
exclusively.
    activation/volume_list configuration setting not defined: Checking only 
host tags for qubes/vm-storage8-dvm-bk-private-import.
    Creating qubes-poolhd0_tmeta
    Loading qubes-poolhd0_tmeta table (253:343)
    Resuming qubes-poolhd0_tmeta (253:343)
    Creating qubes-poolhd0_tdata
    Loading qubes-poolhd0_tdata table (253:344)
    Resuming qubes-poolhd0_tdata (253:344)
    Executing: /usr/sbin/thin_check -q --clear-needs-check-flag 
/dev/mapper/qubes-poolhd0_tmeta
    Creating qubes-poolhd0-tpool
    Loading qubes-poolhd0-tpool table (253:345)
    Resuming qubes-poolhd0-tpool (253:345)
  Thin pool qubes-poolhd0-tpool (253:345) transaction_id is 206, while expected 
202.
    Removing qubes-poolhd0-tpool (253:345)
    Removing qubes-poolhd0_tdata (253:344)
    Removing qubes-poolhd0_tmeta (253:343)
    Activating logical volume qubes/vm-str8-dvm-private-1581792400-back 
exclusively.
    activation/volume_list configuration setting not defined: Checking only 
host tags for qubes/vm-str8-dvm-private-1581792400-back.
    Creating qubes-poolhd0_tmeta
    Loading qubes-poolhd0_tmeta table (253:343)
    Resuming qubes-poolhd0_tmeta (253:343)
    Creating qubes-poolhd0_tdata
    Loading qubes-poolhd0_tdata table (253:344)
    Resuming qubes-poolhd0_tdata (253:344)
    Executing: /usr/sbin/thin_check -q --clear-needs-check-flag 
/dev/mapper/qubes-poolhd0_tmeta
    Creating qubes-poolhd0-tpool
    Loading qubes-poolhd0-tpool table (253:345)
    Resuming qubes-poolhd0-tpool (253:345)
  Thin pool qubes-poolhd0-tpool (253:345) transaction_id is 206, while expected 
202.
    Removing qubes-poolhd0-tpool (253:345)
    Removing qubes-poolhd0_tdata (253:344)
    Removing qubes-poolhd0_tmeta (253:343)
    Activating logical volume qubes/vm-str8-dvm-private exclusively.
    activation/volume_list configuration setting not defined: Checking only 
host tags for qubes/vm-str8-dvm-private.
    Creating qubes-poolhd0_tmeta
    Loading qubes-poolhd0_tmeta table (253:343)
    Resuming qubes-poolhd0_tmeta (253:343)
    Creating qubes-poolhd0_tdata
    Loading qubes-poolhd0_tdata table (253:344)
    Resuming qubes-poolhd0_tdata (253:344)
    Executing: /usr/sbin/thin_check -q --clear-needs-check-flag 
/dev/mapper/qubes-poolhd0_tmeta
    Creating qubes-poolhd0-tpool
    Loading qubes-poolhd0-tpool table (253:345)
    Resuming qubes-poolhd0-tpool (253:345)
  Thin pool qubes-poolhd0-tpool (253:345) transaction_id is 206, while expected 
202.
    Removing qubes-poolhd0-tpool (253:345)
    Removing qubes-poolhd0_tdata (253:344)
    Removing qubes-poolhd0_tmeta (253:343)
    Activating logical volume qubes/vm-str3-dvm-private-1582358921-back 
exclusively.
    activation/volume_list configuration setting not defined: Checking only 
host tags for qubes/vm-str3-dvm-private-1582358921-back.
    Creating qubes-poolhd0_tmeta
    Loading qubes-poolhd0_tmeta table (253:343)
    Resuming qubes-poolhd0_tmeta (253:343)
    Creating qubes-poolhd0_tdata
    Loading qubes-poolhd0_tdata table (253:344)
    Resuming qubes-poolhd0_tdata (253:344)
    Executing: /usr/sbin/thin_check -q --clear-needs-check-flag 
/dev/mapper/qubes-poolhd0_tmeta
    Creating qubes-poolhd0-tpool
    Loading qubes-poolhd0-tpool table (253:345)
    Resuming qubes-poolhd0-tpool (253:345)
  Thin pool qubes-poolhd0-tpool (253:345) transaction_id is 206, while expected 
202.
    Removing qubes-poolhd0-tpool (253:345)
    Removing qubes-poolhd0_tdata (253:344)
    Removing qubes-poolhd0_tmeta (253:343)
    Activating logical volume qubes/vm-str3-dvm-private exclusively.
    activation/volume_list configuration setting not defined: Checking only 
host tags for qubes/vm-str3-dvm-private.
    Creating qubes-poolhd0_tmeta
    Loading qubes-poolhd0_tmeta table (253:343)
    Resuming qubes-poolhd0_tmeta (253:343)
    Creating qubes-poolhd0_tdata
    Loading qubes-poolhd0_tdata table (253:344)
    Resuming qubes-poolhd0_tdata (253:344)
    Executing: /usr/sbin/thin_check -q --clear-needs-check-flag 
/dev/mapper/qubes-poolhd0_tmeta
    Creating qubes-poolhd0-tpool
    Loading qubes-poolhd0-tpool table (253:345)
    Resuming qubes-poolhd0-tpool (253:345)
  Thin pool qubes-poolhd0-tpool (253:345) transaction_id is 206, while expected 
202.
    Removing qubes-poolhd0-tpool (253:345)
    Removing qubes-poolhd0_tdata (253:344)
    Removing qubes-poolhd0_tmeta (253:343)
    Activating logical volume qubes/vm-str2-dvm-private-1582626124-back 
exclusively.
    activation/volume_list configuration setting not defined: Checking only 
host tags for qubes/vm-str2-dvm-private-1582626124-back.
    Creating qubes-poolhd0_tmeta
    Loading qubes-poolhd0_tmeta table (253:343)
    Resuming qubes-poolhd0_tmeta (253:343)
    Creating qubes-poolhd0_tdata
    Loading qubes-poolhd0_tdata table (253:344)
    Resuming qubes-poolhd0_tdata (253:344)
    Executing: /usr/sbin/thin_check -q --clear-needs-check-flag 
/dev/mapper/qubes-poolhd0_tmeta
    Creating qubes-poolhd0-tpool
    Loading qubes-poolhd0-tpool table (253:345)
    Resuming qubes-poolhd0-tpool (253:345)
  Thin pool qubes-poolhd0-tpool (253:345) transaction_id is 206, while expected 
202.
    Removing qubes-poolhd0-tpool (253:345)
    Removing qubes-poolhd0_tdata (253:344)
    Removing qubes-poolhd0_tmeta (253:343)
    Activating logical volume qubes/vm-str2-dvm-private exclusively.
    activation/volume_list configuration setting not defined: Checking only 
host tags for qubes/vm-str2-dvm-private.
    Creating qubes-poolhd0_tmeta
    Loading qubes-poolhd0_tmeta table (253:343)
    Resuming qubes-poolhd0_tmeta (253:343)
    Creating qubes-poolhd0_tdata
    Loading qubes-poolhd0_tdata table (253:344)
    Resuming qubes-poolhd0_tdata (253:344)
    Executing: /usr/sbin/thin_check -q --clear-needs-check-flag 
/dev/mapper/qubes-poolhd0_tmeta
    Creating qubes-poolhd0-tpool
    Loading qubes-poolhd0-tpool table (253:345)
    Resuming qubes-poolhd0-tpool (253:345)
  Thin pool qubes-poolhd0-tpool (253:345) transaction_id is 206, while expected 
202.
    Removing qubes-poolhd0-tpool (253:345)
    Removing qubes-poolhd0_tdata (253:344)
    Removing qubes-poolhd0_tmeta (253:343)
    Activated 0 logical volumes in volume group qubes
  0 logical volume(s) in volume group "qubes" now active

Reply via email to