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

Harald Dunkel harald.dunkel at aixigo.de
Thu Jun 17 12:55:24 UTC 2010


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?


Regards

Harri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: migration_problem.png
Type: image/png
Size: 53357 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20100617/d20f3649/attachment-0001.png>


More information about the Pkg-libvirt-maintainers mailing list