From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pete Ashdown Subject: Re: kvm + raid1 showstopper bug Date: Fri, 17 Feb 2012 08:31:01 -0700 Message-ID: <4F3E72B5.6030502@xmission.com> References: <20120217045733.GC31397@xmission.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Aaron Toponce To: Stefan Hajnoczi Return-path: Received: from out02.mta.xmission.com ([166.70.13.232]:46557 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753153Ab2BQPbC (ORCPT ); Fri, 17 Feb 2012 10:31:02 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Thank you for your response Stefan. On 02/17/2012 04:30 AM, Stefan Hajnoczi wrote: > On Fri, Feb 17, 2012 at 4:57 AM, Pete Ashdown wrote: >> I've been waiting for some response from the Ubuntu team regarding a bug on >> launchpad, but it appears that it isn't being taken seriously: >> >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/745785 > This looks interesting. Let me try to summarize, please point out if > I get something wrong: > > You have software RAID1 on the host, your disk images live on this > device. Whenever checkarray runs on the host you find that VMs become > unresponsive. Guests print warnings that a task is blocked for more > than 120 seconds. Guests become unresponsive on the network. In my case, it is drbd+RAID10, but the bug still applies. It isn't whenever checkarray runs, but whenever checkarray decides to do a resync, it will block all IO somewhere before the end of the resync. Then yes, it isn't long before the guests start to fail due to their inability to read/write. > The fact that the QEMU monitor and VNC still work mean that QEMU is > not probably still running the VM. I think the guest kernel is upset, > perhaps QEMU needs to do something to help these I/Os along. Note that *ALL* IO is blocked, even on the host kernel. It has trouble rebooting at that point too. I have to power cycle it. > Please post your qemu-kvm command-line or libvirt domain XML. > guestname c4cb4999-0713-dffa-32f8-1bb7278b3f5c 8388608 524288 1 hvm destroy restart restart /usr/bin/kvm