From mboxrd@z Thu Jan 1 00:00:00 1970 From: Espen Berg Subject: Corrupted filesystem, possible after livemigration with iSCSI storagebackend. Date: Mon, 08 Mar 2010 11:02:40 +0100 Message-ID: <4B94CB40.2070202@monsternett.no> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.monsternett.no ([217.171.192.10]:54026 "EHLO mail.monsternett.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753334Ab0CHKLF (ORCPT ); Mon, 8 Mar 2010 05:11:05 -0500 Received: from localhost (filter.monsternett.no [217.171.192.14]) by mail.monsternett.no (Postfix) with ESMTP id A85D7602B7CE for ; Mon, 8 Mar 2010 11:02:46 +0100 (CET) Received: from mail.monsternett.no ([217.171.192.10]) by localhost (filter.monsternett.no [217.171.192.14]) (amavisd-new, port 10024) with ESMTP id 6+kkkeXXkN+R for ; Mon, 8 Mar 2010 11:02:46 +0100 (CET) Received: from [217.171.199.6] (ws14.monsternett.no [217.171.199.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.monsternett.no (Postfix) with ESMTPSA id 82B0B602B7C9 for ; Mon, 8 Mar 2010 11:02:46 +0100 (CET) Sender: kvm-owner@vger.kernel.org List-ID: In our KVM system we have two iSCSI backends (master/slave configuration) with failover and two KVM hosts supporting live migration. The iSCSI volumes are shared by the host as a block device in KVM, and the volumes are available on both frontends. After a reboot one of the KVMs where not able to start again due to file system corruption. We use XFS and have problems to understand what caused the corruption. We have ruled out the iSCSI backend as both the master and slave data where consistent at the time. Anyone else had similar problems? What is the recommended way to share an iSCSI drive among the two host machines? Should XFS be ok as a file system for live migration? I'm not able to find any documentation stating that a clustered file system (GFS2 etc.) is recommended. Are there any concurrent writes on the two host machines during a livemigtation?
#virsh version Compiled against library: libvir 0.7.6 Using library: libvir 0.7.6 Using API: QEMU 0.7.6 Running hypervisor: QEMU 0.11.0 #uname -a Linux vm01 2.6.32-bpo.2-amd64 #1 SMP Fri Feb 12 16:50:27 UTC 2010 x86_64 GNU/Linux Regards Espen