Re: [libvirt-users] The default location of vm snapshots

2012-06-06 Thread Eric Blake
[please don't top-post on technical lists] On 06/06/2012 06:22 PM, Xing.x.Gao wrote: > you could try: snapshot-create-as guest guestsnap --disk-only Yes, this is... >> >>> Is there any way to do "live" snapshotting for running domain or reduce >>> pause time? >> >> You can do 'disk-only' snapsh

Re: [libvirt-users] The default location of vm snapshots

2012-06-06 Thread Xing.x.Gao
you could try: snapshot-create-as guest guestsnap --disk-only Thanks. --Xingxing Gao 2012/6/6 Eric Blake : > On 06/06/2012 07:05 AM, SimpleCloud wrote: >> Thanks a lot for the details. >> >> >> From http://wiki.libvirt.org/page/Snapshots, we have to pause the domain >> before taking snapshot and

Re: [libvirt-users] qemu-img snapshots with backing stores?

2012-06-06 Thread Sean Abbott
It's definitely to do with the sshfs underlying the backing store or underlying permissions somehow. Damn. The whole point was to not need to copy the whole image over the network when instantiating a new clone. Hmm Any ideas how to see why it can't read the file if it's on sshfs? Strace,

Re: [libvirt-users] qemu-img snapshots with backing stores?

2012-06-06 Thread Sean Abbott
So you suppose this might have something to do with the backing store being mounted via sshfs? The backing store permissions allow read to ugo... On 06/06/2012 06:16 PM, Sean Abbott wrote: > Thanks for the response! I'm glad this is possible... > > Opennebula specifies the permissions for files t

Re: [libvirt-users] A RFE for libvirt

2012-06-06 Thread Eric Blake
On 06/05/2012 12:23 AM, whuang wrote: > Hi, > > I am a libvirt user , there is a requirement about libvirt : > I need a virsh cmd like "#virsh *create-as* --disk --net " to create a > very sample guest > I have not xml file and I think it's a little hard for me to create a > NEW xml for libvirt ,

Re: [libvirt-users] qemu-img snapshots with backing stores?

2012-06-06 Thread Sean Abbott
Yeah, apparmor's not really installed despite the /etc/apparmor.d directory being there on account of libvirt adding it (I guess). Hmm On 06/06/2012 05:23 PM, Eric Blake wrote: > On 06/06/2012 10:55 AM, Sean Abbott wrote: >> So, I was attempting to use qemu snapshots with backing stores. The

Re: [libvirt-users] qemu-img snapshots with backing stores?

2012-06-06 Thread Sean Abbott
Thanks for the response! I'm glad this is possible... Opennebula specifies the permissions for files to be used to be opened up a fair bit, so I made sure the backing store had the permissions. Also, I'm actually letting opennebula do the qemu-img line, and it would probably have to do any libvi

Re: [libvirt-users] qemu-img snapshots with backing stores?

2012-06-06 Thread Eric Blake
On 06/06/2012 10:55 AM, Sean Abbott wrote: > So, I was attempting to use qemu snapshots with backing stores. The > QEMU docs (http://wiki.qemu.org/Documentation/CreateSnapshot) make it > sound like you simply point your qemu at the snapshot after it's > creation, and you're golden. > > When attem

Re: [libvirt-users] qemu-img snapshots with backing stores?

2012-06-06 Thread Sean Abbott
Guess I should add I have libvirt 0.9.2, as that's what ubuntu has packaged. On 06/06/2012 12:55 PM, Sean Abbott wrote: > So, I was attempting to use qemu snapshots with backing stores. The > QEMU docs (http://wiki.qemu.org/Documentation/CreateSnapshot) make it > sound like you simply point your

[libvirt-users] qemu-img snapshots with backing stores?

2012-06-06 Thread Sean Abbott
So, I was attempting to use qemu snapshots with backing stores. The QEMU docs (http://wiki.qemu.org/Documentation/CreateSnapshot) make it sound like you simply point your qemu at the snapshot after it's creation, and you're golden. When attempting this with libvirt, though, it fails. I created a

Re: [libvirt-users] The default location of vm snapshots

2012-06-06 Thread Eric Blake
On 06/06/2012 07:05 AM, SimpleCloud wrote: > Thanks a lot for the details. > > > From http://wiki.libvirt.org/page/Snapshots, we have to pause the domain > before taking snapshot and resume after. Actually, you don't have to do it yourself; libvirt takes care of doing it for you if that's what

Re: [libvirt-users] The default location of vm snapshots

2012-06-06 Thread SimpleCloud
Thanks a lot for the details. From http://wiki.libvirt.org/page/Snapshots, we have to pause the domain before taking snapshot and resume after. Is there any way to do "live" snapshotting for running domain or reduce pause time? Thanks, Lei -- Original -- F

Re: [libvirt-users] The default location of vm snapshots

2012-06-06 Thread Eric Blake
On 06/06/2012 03:20 AM, SimpleCloud wrote: > Hi all, > > > Where could I find the memory dump and disk snapshots for vm after command > "virsh snapshot-create "? Thanks in advance. This particular form of snapshot is called the 'system checkpoint' snapshot, and the current qemu implementation i

[libvirt-users] The default location of vm snapshots

2012-06-06 Thread SimpleCloud
Hi all, Where could I find the memory dump and disk snapshots for vm after command "virsh snapshot-create "? Thanks in advance. I found the xml files in /var/lib/libvirt/qemu/snapshot/, but hava no idea about the raw snapshot file. Thanks, Lei___