[PVE-User] Moving disk to a new storage - VM Reboot

Alexandre DERUMIER aderumier at odiso.com
Tue Jul 5 14:04:31 CEST 2016


They are no reason for qemu process to be killed when storage migration occur.

Could be a qemu crash, but I never had seeing this.

What is the qemu version ?



----- Mail original -----
De: "Kevin Lemonnier" <lemonnierk at ulrar.net>
À: "proxmoxve" <pve-user at pve.proxmox.com>
Envoyé: Lundi 4 Juillet 2016 16:51:36
Objet: Re: [PVE-User] Moving disk to a new storage - VM Reboot

I think the VM is not even rebooting, it looks like it just shuts down 
then the HA boots it. Unfortunatly it's not a clean shut down, it just stops 
right away as if the process was killed or something. 

The images are all qcows, no snapshots, most of them with no cache but some 
configured in directsync mode, doesn't seem to affect the result. Almost everytime 
it stops then reboots, but once or twice I've seen a move complete without a reboot. 

And if that matters the VMs are all Linux (Debian 8) with no agent installed. I can 
install the agent if that helps though. 


On Mon, Jul 04, 2016 at 05:46:45PM +0300, Markos Vakondios wrote: 
> Alexandre, 
> 
> I think Kevin means that the VM (windows?) auto reboots itself sometimes 
> after live migration without knowing what triggers the reboot, correct? 
> 
> What type of disk file do you use Kevin, raw/qcow2 and what disk cache 
> mode? Also, are there any VM snapshots on the migrated VMs? 
> 
> On 4 July 2016 at 17:06, Kevin Lemonnier <lemonnierk at ulrar.net> wrote: 
> 
> > Hi, 
> > 
> > I don't know if I had an error, it just reboots the VM without saying 
> > anything. 
> > But the VM reboots perfectly fine on the new storage. 
> > 
> > I'm migrating VMs to and from glusterfs to NFS or local storage, sometimes 
> > to other 
> > GlusterFS. The storage doesn't seem to matter, although I never tried 
> > local to local. 
> > 
> > On Mon, Jul 04, 2016 at 03:59:42PM +0200, Alexandre DERUMIER wrote: 
> > > Hi, 
> > > 
> > > I have migrate storage of around 300vms recently (windows/linux), and I 
> > didn't have any disk error. 
> > > This was from nfs to ceph rbd. 
> > > 
> > > what was your source/destintion storage and vm configuration 
> > > ----- Mail original ----- 
> > > De: "Kevin Lemonnier" <lemonnierk at ulrar.net> 
> > > À: "proxmoxve" <pve-user at pve.proxmox.com> 
> > > Envoyé: Lundi 4 Juillet 2016 14:40:57 
> > > Objet: [PVE-User] Moving disk to a new storage - VM Reboot 
> > > 
> > > Hi, 
> > > 
> > > I've been doing a lot of moving disks around on different storage for 
> > running VMs 
> > > lately, and it works fine but I noticed that sometimes the VM doesn't 
> > reboot after 
> > > moving the disk, and most of the times in does (no warning by the way, 
> > corrupted a few 
> > > MySQL that way, would be nice to add one). 
> > > 
> > > Anyone knows what are the conditions for a VM to really migrate "live" 
> > to a new storage, 
> > > and what conditions will make it reboot after the move ? Would be 
> > interested in preventing 
> > > any kind of reboots like that, it's not great having to tell the client 
> > "it might reboot, 
> > > not sure". 
> > > 
> > > Thanks ! 
> > > 
> > > -- 
> > > Kevin Lemonnier 
> > > PGP Fingerprint : 89A5 2283 04A0 E6E9 0111 
> > > 
> > > _______________________________________________ 
> > > pve-user mailing list 
> > > pve-user at pve.proxmox.com 
> > > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 
> > > 
> > > _______________________________________________ 
> > > pve-user mailing list 
> > > pve-user at pve.proxmox.com 
> > > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 
> > 
> > -- 
> > Kevin Lemonnier 
> > PGP Fingerprint : 89A5 2283 04A0 E6E9 0111 
> > 
> > _______________________________________________ 
> > pve-user mailing list 
> > pve-user at pve.proxmox.com 
> > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 
> > 
> > 
> _______________________________________________ 
> pve-user mailing list 
> pve-user at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 

-- 
Kevin Lemonnier 
PGP Fingerprint : 89A5 2283 04A0 E6E9 0111 

_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 




More information about the pve-user mailing list