From: Takuya Yoshikawa Subject: Question: data consistency on fail-over using shared disk Date: Wed, 21 Jul 2010 15:27:28 +0900 Message-ID: <4C469350.3080008@oss.ntt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit To: KVM list Return-path: Received: from serv2.oss.ntt.co.jp ([222.151.198.100]:49677 "EHLO serv2.oss.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752072Ab0GUG1U (ORCPT ); Wed, 21 Jul 2010 02:27:20 -0400 Received: from serv2.oss.ntt.co.jp (localhost [127.0.0.1]) by serv2.oss.ntt.co.jp (Postfix) with ESMTP id A6D3024839F for ; Wed, 21 Jul 2010 15:27:19 +0900 (JST) Received: from serv1.oss.ntt.co.jp (serv1.oss.ntt.co.jp [172.19.0.2]) by serv2.oss.ntt.co.jp (Postfix) with ESMTP id 96328248349 for ; Wed, 21 Jul 2010 15:27:19 +0900 (JST) Received: from [127.0.0.1] (unknown [172.17.1.56]) by serv1.oss.ntt.co.jp (Postfix) with ESMTP id 061DA2600B9 for ; Wed, 21 Jul 2010 15:27:19 +0900 (JST) Sender: kvm-owner@vger.kernel.org List-ID: Hi, We are now checking about what we should do on vm fail-over. Concerning this, does anybody know about any danger about data consistency when we are using shared disk? What I'm concerning is if crashed VM-side host is still holding buffered data, starting a new VM instance on another node may result in file system corruption. This problem may similar to live-migration but little bit different in the sense that VM is crashed -> cannot do anything from that point. How about the combination of old or new guest OS and the following settings? - writethrough - writeback - none If needed, we'll do sync by HA-side scripts before starting a new VM instance. Thanks, Takuya