How to recreate VM XML config (after crash) from VDI UUIDs?
Posted: 28. Dec 2009, 17:37
OK, I am running the newest VB under Linux host. I have a Linux VM, with one snapshot. After configuring it for about a week, I finally got to where I wanted, and thought it was time to make a new snapshot, so that I wouldn't run the risk of loosing my work of the last week. That's where the trouble is: the snapshot creation failed, with some error message I couldn't understand (I find VB error messages generally very hard to decipher, because they use those UUID that don't mean anything to a human being). Anyway, it seems that VB made snapshots of the (two) VDIs (as I can see them in the Snapshots directory), but then didn't update the VM XML configuration file. Now it says that something is wrong with the VM, so I cannot use it anymore. How am I meant to manually create the missing "Snapshot" section?!?
For starters, what about the snapshot UUID itself? Can I find it somewhere, or can I invent a new one?
Am I right to assume that the data outside the snapshot section is the configuration of the VM at the time the first snapshot was made, and therefore the data inside the snapshot section is the configuration just before I tried to create the second snapshot?
Does the second snapshot section goes before, after, or in the first snapshot section?
Is the timestamp important, as don't know exactly when I clicked the snapshot button?
Is there some detailed guide somewhere that shows how to do this? (I searched for it but found nothing. Maybe I used the wrong terms).
For starters, what about the snapshot UUID itself? Can I find it somewhere, or can I invent a new one?
Am I right to assume that the data outside the snapshot section is the configuration of the VM at the time the first snapshot was made, and therefore the data inside the snapshot section is the configuration just before I tried to create the second snapshot?
Does the second snapshot section goes before, after, or in the first snapshot section?
Is the timestamp important, as don't know exactly when I clicked the snapshot button?
Is there some detailed guide somewhere that shows how to do this? (I searched for it but found nothing. Maybe I used the wrong terms).