From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Lalancette Subject: Re: KVM Migration fails Date: Thu, 25 Sep 2008 07:56:23 +0200 Message-ID: <48DB2807.5090900@redhat.com> References: <192897.95216.qm@web35803.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: KVM List To: jdsw2002@yahoo.com Return-path: Received: from mx2.redhat.com ([66.187.237.31]:34011 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751684AbYIYF4b (ORCPT ); Thu, 25 Sep 2008 01:56:31 -0400 In-Reply-To: <192897.95216.qm@web35803.mail.mud.yahoo.com> Sender: kvm-owner@vger.kernel.org List-ID: jd wrote: > Hi I have a setup using shared nfs disks. When migration is attempted, it > fails... any ideas on how to debug this..? > > /Jd > > Details ======= > > migration: write failed (Connection reset by peer)^M Migration failed! ret=0 > error=9 Not a lot of detail here, but when does it fail during the process? Immediately? After transferring some of the image? Right at the end? Connection reset by peer sort of sounds like there is a firewall or something in the way, although if it transfers some data before crashing, then it's probably something else. The only other thing I can think of based on your command-line below is something to do with your -net options; I've only successfully migrated with -net tap before, I've never tried -net user. Chris Lalancette > > Source : KVM-73, Cent OS 5.2, 64 bit. > > qemu-system-x86_64 -net nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net user,vlan=0 > -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m 1024 -no-acpi -vnc :22 > -name XPSP2-KVM -smp 2 -monitor > unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait -pidfile > /var/run/kvm/pids/XPSP2-KVM -daemonize > > > > Dest : KVM-70, Fedora 8, 64bit > > qemu-system-x86_64 -net nic,vlan=0,macaddr=00:16:3e:16:f4:f0 -net user,vlan=0 > -hda /mnt/nfs/vmdisks/XPSP2-KVM.disk.xm -boot c -m 1024 -no-acpi -vnc :23 > -incoming tcp://0:8002 -name XPSP2-KVM -smp 2 -monitor > unix:/var/run/kvm/monitors/XPSP2-KVM,server,nowait -pidfile > /var/run/kvm/pids/XPSP2-KVM -daemonize