public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* I/O errors after migration - why?
@ 2009-03-27 16:34 Tomasz Chmielewski
  2009-03-27 16:51 ` Tomasz Chmielewski
  2009-03-28  1:08 ` Nolan
  0 siblings, 2 replies; 10+ messages in thread
From: Tomasz Chmielewski @ 2009-03-27 16:34 UTC (permalink / raw)
  To: kvm@vger.kernel.org

I'm trying to perform live migration by following the instructions on 
http://www.linux-kvm.org/page/Migration.
Unfortunately, it doesn't work very well - guest is migrated, but looses 
access to its disk.

On the destination host, I'm starting the guest with exactly the same 
options as on the source host, with "-incoming tcp:0:4444".
On the source host, I start the migration with "migrate -d tcp:B:4444".

Both hosts use the same iSCSI device and can access it.

Looks like the destination host can't really access the iSCSI device 
after all? No - after I reboot the guest (echo b > /proc/sysrq-trigger), 
it boots just fine from its disk. Also lsof on the host shows that the 
kvm process accesses the correct /dev/sdX device.

Both hosts use kvm-84.


This is what kernel says on the guest after migration:

sd 0:0:0:0: ABORT operation started. 
 

sd 0:0:0:0: ABORT operation timed-out. 
 

sd 0:0:0:0: ABORT operation started. 
 

sd 0:0:0:0: ABORT operation timed-out. 
 

sd 0:0:0:0: ABORT operation started. 
 

sd 0:0:0:0: ABORT operation timed-out. 
 

sd 0:0:0:0: ABORT operation started. 
 

sd 0:0:0:0: ABORT operation timed-out. 
 

sd 0:0:0:0: ABORT operation started. 
 

sd 0:0:0:0: ABORT operation timed-out. 
 

sd 0:0:0:0: DEVICE RESET operation started. 
 

sd 0:0:0:0: DEVICE RESET operation timed-out. 
 

sd 0:0:0:0: BUS RESET operation started. 
 

sym0: suspicious SCSI data while resetting the BUS. 
 

sym0: dp1,d15-8,dp0,d7-0,rst,req,ack,bsy,sel,atn,msg,c/d,i/o = 0x0, 
expecting 0x100 

sd 0:0:0:0: BUS RESET operation timed-out. 
 

sd 0:0:0:0: HOST RESET operation started. 
 

sym0: suspicious SCSI data while resetting the BUS. 
 

sym0: dp1,d15-8,dp0,d7-0,rst,req,ack,bsy,sel,atn,msg,c/d,i/o = 0x0, 
expecting 0x100 

sym0: the chip cannot lock the frequency 
 

sym0: SCSI BUS has been reset. 
 

sd 0:0:0:0: HOST RESET operation timed-out. 
 

sd 0:0:0:0: scsi: Device offlined - not ready after error recovery
(...)
Buffer I/O error on device sda1, logical block 1 
 

lost page write due to I/O error on sda1 
 

sd 0:0:0:0: rejecting I/O to offline device


-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-03-30  5:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox