All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: I/O errors after migration - why?
Date: Fri, 27 Mar 2009 19:43:07 +0100	[thread overview]
Message-ID: <49CD1E3B.2000600@wpkg.org> (raw)
In-Reply-To: <49CD0DE6.50907@codemonkey.ws>

Anthony Liguori schrieb:

(...)

>>>> Similar symptoms with virtio_blk (i.e., when guest is booted off a 
>>>> live CD and tries to access the disk after migration).
>>>>
>>>> The only difference between SCSI and virtio_blk is that SCSI signals 
>>>> errors and aborts, and virtio_blk waits forever and doesn't give a 
>>>> clue.
>>
>> That is interesting (or not?).
>>
>> In monitor, after migration, "info block" says:
>>
>> scsi0-hd0: type=hd ...
>>
>> Before migration, it was:
>>
>> virtio0: type=hd ...
>>
>> ?
>>
>> On both sides the guest was started with the same option (delta 
>> "-incoming...").
> 
> Can you give the full command line on both ends and what KVM version it is?

kvm-84


/usr/bin/kvm -monitor unix:/var/run/qemu-server/117.mon,server,nowait 
-vnc unix:/var/run/qemu-server/117.vnc,password -pidfile 
/var/run/qemu-server/117.pid -daemonize -usbdevice tablet -name opennms1 
-smp 1 -id 117 -cpuunits 1000 -vga cirrus -tdf -k de -drive 
file=/var/lib/vz/template/iso/systemrescuecd-x86-1.1.7-beta3.iso,if=ide,index=2,media=cdrom 
-drive 
file=/dev/disk/by-path/ip-10.2.18.9:3260-iscsi-iqn.2009-03.net.syneticon:san3.opennms1-lun-1,if=scsi,index=0,boot=on 
-m 400 -net 
tap,vlan=6,ifname=vmtab117i6,script=/var/lib/qemu-server/bridge-vlan6 
-net nic,vlan=6,model=e1000,macaddr=F6:13:A3:72:4D:9F -serial 
unix:/var/run/qemu-server/117.serial,server,nowait -incoming tcp:0:4444


file=/dev/disk/by-path... is a symlink to a proper /dev/sdX device (i.e. 
/dev/sdah on host1, /dev/sds on host2).
When checked with lsof, kvm process uses a proper /dev/sdX device on 
both hosts.



-- 
Tomasz Chmielewski
http://wpkg.org

  reply	other threads:[~2009-03-27 18:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-27 16:34 I/O errors after migration - why? Tomasz Chmielewski
2009-03-27 16:51 ` Tomasz Chmielewski
2009-03-27 17:01   ` Tomasz Chmielewski
2009-03-27 17:14     ` Tomasz Chmielewski
2009-03-27 17:33       ` Anthony Liguori
2009-03-27 18:43         ` Tomasz Chmielewski [this message]
2009-03-28  1:08 ` Nolan
2009-03-28 10:21   ` Tomasz Chmielewski
2009-03-28 18:15     ` Nolan
2009-03-30  5:38       ` Takeshi Sone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49CD1E3B.2000600@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=anthony@codemonkey.ws \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.