Re: some problem with snapshot by libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



to create snapshot ,I did   step below:
virsh snapshot-create-as centos snap1 --disk-only --atomic --no-metadata
virsh snapshot-create-as centos snap2 --disk-only ......
........................
virsh snapshot-creates-as centos snap10 .....
then i got 10 snapshot of a vm,
to revert, i just did the follow step:
1 destroy centos
2 editor="sed -i 's/centosdisk.snap10/centosdisk.snap1/g'" virsh edit centos
3 rm -f centos.snap{2,3,4,5,6.....}
4 start centos
is these steps correct?
and another question is ,when i revert to a snapshot,some files of the
vm's system  missing,does this have any relation with the disk cache
mode (writeback,writethrough,none,etc.)???how could i avoid that
happen??
thanks.

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux