Understanding LVM-Images of the VMs in dom0

Hey,

while trying to fsck some corrupt VM, I try to understand, what LVM image I need. I can see

  • vm-myVM-private
  • vm-myVM-private-someNumbers-back
  • vm-myVM-private-someOtherNumbers-back
  • vm-myVM-root
  • vm-myVM-root-someNumbers-back
  • vm-myVM-root-someOtherNumbers-back

What is it all??

private, is maybe just the /home/user partition and two -back some backups? But who made these backups??

cheers
qun

vm-myVM-private is the qube’s private volume.
The two private-NUMBERS-back are copies of the previous states of the
private volume. They are automagically generated for you, and you can
use qvm-volume to revert to one of them - see man qvm-volume in
dom0.

By default two previous revisions are kept, but you can increase or
decrease this as you will, by changing the value of revisions to keep
using qvm-volume.

Template based qubes only have “private” volumes - standalones and
templates have both private and root volumes stored.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

1 Like
2 Likes

ah, thanks! Nice to know!