WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] How (not) to destroy a PostgreSQL db in domU on powerfai

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How (not) to destroy a PostgreSQL db in domU on powerfail
From: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 4 Mar 2009 03:44:58 +0100
Delivery-date: Tue, 03 Mar 2009 18:45:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200903040302.33659@xxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: it-management http://it-management.at
References: <200902241021.57609@xxxxxx> <7207d96f0903031715o417887fqf2d5b9d9881b2e76@xxxxxxxxxxxxxx> <200903040302.33659@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.10.3 (Linux/2.6.27.19-ZMI; KDE/4.1.3; x86_64; ; )
On Mittwoch 04 März 2009 Michael Monnerie wrote:
> On Mittwoch 04 März 2009 Fajar A. Nugraha wrote:
> > Is your domU filesystem (/path/root20090113.xvd ?) located on top
> > of LVM? If yes, then AFAIK LVM does not honor write-barriers.
>
> Indeed. LVM is bad? I've read LVM is suggested in order to have an
> easier backup with snapshots. But if the result is that your XEN domU
> gets destroyed on a power outage - damn LVM.
>
> Can someone confirm that LVM does not honor write-barriers?

http://lkml.org/lkml/2008/5/16/390
http://hightechsorcery.com/2008/06/linux-write-barriers-write-caching-
lvm-and-filesystems

If I understand correctly, turning off disk cache write cache should be 
enough to be save, even when using LVM. Is it really XEN that messed the 
disk, or something else? Could the Areca controller driver do something 
wrong? I'd really love to get a stable and data-secure system, as you 
might understand.

mfg zmi
-- 
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net                  Key-ID: 1C1209B4


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users