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/
Home Products Support Community News


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

To: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] How (not) to destroy a PostgreSQL db in domU on powerfail
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Tue, 24 Feb 2009 16:37:42 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 24 Feb 2009 01:38:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200902241021.57609@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>
References: <200902241021.57609@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Feb 24, 2009 at 4:20 PM, Michael Monnerie
<michael.monnerie@xxxxxxxxxxxxxxxxxxx> wrote:
> * Linux host (dom0) with XEN, XFS filesystem with "nobarrier", RAID
> controller with battery backed cache.
> * XEN vm (domU) with XFS filesystem with "nobarrier" with postgresql
> * my daughter with 3.5 years switching off the power supply of the
> server, just behind the UPS

> Is there a way to secure domU's in a way they survive a powerfail?

Are you using file-backed domU, with file:/ in domU config? If yes,
this is a known problem, and you can try:
- changing file:/ to tap:aio:/ , or
- use block-device-backed storage (e.g. LVM, partition, etc.)



Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>