[Pkg-libvirt-maintainers] Bug#586217: Bug#586217: live migration corrupts virtio block device on NFSv4

Guido Günther agx at sigxcpu.org
Thu Jun 17 14:30:46 UTC 2010


Hi Harald,
On Thu, Jun 17, 2010 at 02:55:24PM +0200, Harald Dunkel wrote:
> Package: libvirt-bin
> Version: 0.8.1-1
> 
> Using virsh I tried to migrate a Squeeze guest live from
> my desktop PC to another host (both running Testing and
> kernel 2.6.34). Command line:
> 
> virsh migrate --live migrationtest qemu+ssh://fw02/system
> 
> There was no error message, but on the new guest I saw a
> lot of filesystem errors (see attachment). After a reboot
> the guest seems OK, but I don't trust it.
> 
> 
> The storage pool ("/storage") is on NFSv4. /proc/mounts:
> 
> rootfs / rootfs rw 0 0
> none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
> none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
> udev /dev tmpfs rw,relatime,size=10240k,mode=755 0 0
> none /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
> /dev/disk/by-uuid/59ec3158-5555-4c40-987e-e7f7cf3f9f77 / reiserfs rw,relatime,notail 0 0
> tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
> tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
> /dev/sdc3 /export/storage reiserfs rw,noatime 0 0
> rpc_pipefs /var/lib/rpc_pipefs rpc_pipefs rw,relatime 0 0
> nfs-storage:/storage/ /storage nfs4 rw,relatime,vers=4,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.129,addr=192.168.1.213 0 0
> 
> 
> Is it possible that some kind of sync operation is missing
> before the guest disk is opened on the new host?
This is all kvm/qemu's business AFAIK. Could you attach the qemu log? Did
you try --live? 

Could you also try to reproduce this with kvm/qemu (without libvirt) and
see if the problem persists?

Cheers,
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list