(In reply to comment #14)
however files created after applying the snapshots are gone, this is another problem, looking into it.
Thanks. Without the patch, files created after applying a snapshot aren't lost, so it doesn't seem like a separate problem.
More info: I don't understand the sxprep.append (or xenstore in general). But it appears that with the patch, after the snapshot is created, the command "xenstore-ls" shows an extra value snapshot="snap1" associated with the disk. I assume this is read during start up. I noticed that this value is never deleted, that's why I asked about undoing sxprep.append(). It seems like for an "xm start" that value shouldn't be there, and its presence is causing the snapshot to be applied? yes, thanks for pointing out this, so we are always applying the snapshot with xm start after a xm snapshot-apply,
https://bugzilla.novell.com/show_bug.cgi?id=651822
https://bugzilla.novell.com/show_bug.cgi?id=651822#c17
--- Comment #17 from Dongyang Li
I also note that the value is changed when a later snapshot is taken. That might mean we can only apply the most recent snapshot, I didn't test.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.