From: Stefan Hajnoczi Subject: Re: KVM live migration i/o error Date: Fri, 20 Mar 2015 10:03:20 +0000 Message-ID: <20150320100320.GA4382@stefanha-thinkpad.redhat.com> References: <20150318155327.GB16618@telecos.upc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Cc: kvm-devel To: Francesc Guasch Return-path: Received: from mail-wg0-f42.google.com ([74.125.82.42]:34443 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751489AbbCTKDX (ORCPT ); Fri, 20 Mar 2015 06:03:23 -0400 Received: by wggv3 with SMTP id v3so85061170wgg.1 for ; Fri, 20 Mar 2015 03:03:22 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20150318155327.GB16618@telecos.upc.edu> Sender: kvm-owner@vger.kernel.org List-ID: --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 18, 2015 at 04:53:28PM +0100, Francesc Guasch wrote: > I have three Ubuntu Server 14.04 trusty with KVM. Two of > them are HP servers and one is Dell. Both brands run fine > the KVM virtual servers, and I can do live migration between > the HPs. But I get I/O errors in the vda when I migrate to > or from the Dell server. >=20 > I have shared storage with NFS, mounted the same way in all > of them: >=20 > nfs.sever:/kvm /var/lib/libvirt/images nfs auto,vers=3D3 >=20 > I checked the version of all the packages to make sure are > the same. I got: >=20 > kernel: 3.13.0-43-generic #72-Ubuntu SMP x86_64 libvirt: > libvirt: 1.2.2-0ubuntu13.1.9=20 > qemu-utils: 2.0.0+dfsg-2ubuntu1.10 > qemu-kvm: 2.0.0+dfsg-2ubuntu1.10 >=20 > I made sure the Cache in the Storage is set to None. >=20 > Disk bus: virtio Cache mode: none IO mode: default >=20 > I run this to do live migration: >=20 > virsh migrate --live virtual qemu+ssh://dellserver/system >=20 > As soon as it starts in the origin console I spot I/O error > messages, when it finishes I got them in the console in the > destination server. The file system is read only and I have to > shut it down hard. >=20 > end request I/O error, /dev/vda, sector 8790327 "origin console" =3D=3D guest's console? I/O errors starting while the guest is still running on the migration source host is strange. I wonder if something happened to the NFS file related to file permissions or SELinux labels? Stefan --0F1p//8PRICkK4MW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVC/BoAAoJEJykq7OBq3PIrZ4H/1nwHzmj7a7AfcLC1vV43swH YyNZ9FqFFZLKwBKc4oL/QPwZRDfiC1CmiuXNHwzqcqajJ9GlI5mE36YUd5w4Ss/g k1Dk5Gt69lTg3au3GfldfNpBbDq9Mvz8eXyWOO7+OhnAVUS2ZvcaQw+XIcsoF9lR aYHXktxfsAzFqK6xucN2Zpvh95zZdNzQvG/rpv+gsHiYtMml9EsnXHxylRtZenSQ pYlKh1aE35ihaLUlBbmkj/9rUw//X9Cjl0Op3QYlvEmC3EO2eLCVdnOqKPtJNKN6 lfg9GQI2fi4f+S0TYGtlUHtdnL1MWQeEaQFAPABx6NSXXsW/Mzc/PS1PhMQzEcY= =JhOd -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--