Mailing List Archive

xm save while VM is writing once per second?
I must not be understanding something trivial that I cannot
find in the documentation.

I am running Xen 2.0.5 with Fedora Core 3 successfully.

I have a VM (VM4) running a test shell script that loops
infinitely while writing the date and a counter every
second (to /tmp/counter).

The entire VM is using a file-backed VBD for all storage
(/vm-images/vm-4-disk acting as sda1 to the VM).

Running 'xm save VM4 /vm-images/vm4.save' from dom0
never returns (well, I have been staring at it for 5
minutes now).

'xm save VM4 /vm-images/vm4.save' works fine without the
looping script writing to /tmp/counter every second.

Somebody clue me in?


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: xm save while VM is writing once per second? [ In reply to ]
Do you have logs of this? It's probably worthwhile to open this as a
bug in Bugzilla (if you could provide the script too that'd be excellent).

Regards,

Anthony Liguori

Jeff Blaine wrote:

> I must not be understanding something trivial that I cannot
> find in the documentation.
>
> I am running Xen 2.0.5 with Fedora Core 3 successfully.
>
> I have a VM (VM4) running a test shell script that loops
> infinitely while writing the date and a counter every
> second (to /tmp/counter).
>
> The entire VM is using a file-backed VBD for all storage
> (/vm-images/vm-4-disk acting as sda1 to the VM).
>
> Running 'xm save VM4 /vm-images/vm4.save' from dom0
> never returns (well, I have been staring at it for 5
> minutes now).
>
> 'xm save VM4 /vm-images/vm4.save' works fine without the
> looping script writing to /tmp/counter every second.
>
> Somebody clue me in?
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: xm save while VM is writing once per second? [ In reply to ]
On Tue, 2005-05-10 at 15:04 -0400, Jeff Blaine wrote:
> I must not be understanding something trivial that I cannot
> find in the documentation.
>
> I am running Xen 2.0.5 with Fedora Core 3 successfully.
>
> I have a VM (VM4) running a test shell script that loops
> infinitely while writing the date and a counter every
> second (to /tmp/counter).
>
> The entire VM is using a file-backed VBD for all storage
> (/vm-images/vm-4-disk acting as sda1 to the VM).
>
> Running 'xm save VM4 /vm-images/vm4.save' from dom0
> never returns (well, I have been staring at it for 5
> minutes now).
>
> 'xm save VM4 /vm-images/vm4.save' works fine without the
> looping script writing to /tmp/counter every second.
>
> Somebody clue me in?


This may sound odd, but have you run the save command a second time
after the first time never returned? I have a similar configuration as
you and I just ran xm save command. The first time, it just sat there
and didn't return. I exited it and ran the command again and it worked.

I'm still figuring out why. But it worked the second time I ran the xm
save command.

I followed up the save with "xm restore" and that worked.

Thanks,

Dan




_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
RE: xm save while VM is writing once per second? [ In reply to ]
> > I am running Xen 2.0.5 with Fedora Core 3 successfully.
> >
> > I have a VM (VM4) running a test shell script that loops infinitely
> > while writing the date and a counter every second (to /tmp/counter).
> >
> > The entire VM is using a file-backed VBD for all storage
> > (/vm-images/vm-4-disk acting as sda1 to the VM).
> >
> > Running 'xm save VM4 /vm-images/vm4.save' from dom0 never returns
> > (well, I have been staring at it for 5 minutes now).
> >
> > 'xm save VM4 /vm-images/vm4.save' works fine without the looping
> > script writing to /tmp/counter every second.
> >
> > Somebody clue me in?

There are a bunch of fixes in this area in 2.0-testing. I want to fix
two other bugs and then do a 2.0.6 release next week.

Ian

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users